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

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

Issue 1938313002: DevTools: [SASS] parse SCSS rules and their selectors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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: "variables" 10 rule 0: ".box#{$i}"
11 rule 1: "properties"
12 property 0 11 property 0
13 name: "color" 12 name: "color"
14 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":13} 13 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":13}
15 value: " $color" 14 value: " $color"
16 range: {"startLine":2,"startColumn":14,"endLine":2,"endColumn":21} 15 range: {"startLine":2,"startColumn":14,"endLine":2,"endColumn":21}
17 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":22} 16 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":22}
18 disabled: false 17 disabled: false
19 property 1 18 property 1
20 name: "margin" 19 name: "margin"
21 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":14} 20 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":14}
22 value: " 10px" 21 value: " 10px"
23 range: {"startLine":3,"startColumn":15,"endLine":3,"endColumn":20} 22 range: {"startLine":3,"startColumn":15,"endLine":3,"endColumn":20}
24 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":21} 23 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":21}
25 disabled: false 24 disabled: false
26 rule 2: "mixins"
27 ====== 25 ======
28 Ranges OK. 26 Ranges OK.
29 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698