Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sass/test-ast-scss-6-expected.txt

Issue 1935403002: DevTools: [SASS] CSSRule supports selector text nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3-precise-mapping
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Verifies AST of SCSS with @for control statement. 1 Verifies AST of SCSS with @for control statement.
2 2
3 @for $i from 1 through 3 { 3 @for $i from 1 through 3 {
4 .box#{$i} { 4 .box#{$i} {
5 color: $color; 5 color: $color;
6 margin: 10px; 6 margin: 10px;
7 } 7 }
8 } 8 }
9 === AST === 9 === AST ===
10 rule 0: ".box#{$i}" 10 rule 0
11 selector 0: ".box#{$i}"
12 range: {"startLine":1,"startColumn":4,"endLine":1,"endColumn":13}
11 property 0 13 property 0
12 name: "color" 14 name: "color"
13 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":13} 15 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":13}
14 value: "$color" 16 value: "$color"
15 range: {"startLine":2,"startColumn":15,"endLine":2,"endColumn":21} 17 range: {"startLine":2,"startColumn":15,"endLine":2,"endColumn":21}
16 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":22} 18 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":22}
17 disabled: false 19 disabled: false
18 property 1 20 property 1
19 name: "margin" 21 name: "margin"
20 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":14} 22 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":14}
21 value: "10px" 23 value: "10px"
22 range: {"startLine":3,"startColumn":16,"endLine":3,"endColumn":20} 24 range: {"startLine":3,"startColumn":16,"endLine":3,"endColumn":20}
23 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":21} 25 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":21}
24 disabled: false 26 disabled: false
25 ====== 27 ======
26 Ranges OK. 28 Ranges OK.
27 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698