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

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

Issue 1944593002: DevTools: [SASS] extract exact property name and value ranges (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2-switch-css
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: ".box#{$i}"
11 property 0 11 property 0
12 name: "color" 12 name: "color"
13 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":13} 13 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":13}
14 value: " $color" 14 value: "$color"
15 range: {"startLine":2,"startColumn":14,"endLine":2,"endColumn":21} 15 range: {"startLine":2,"startColumn":15,"endLine":2,"endColumn":21}
16 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":22} 16 range: {"startLine":2,"startColumn":8,"endLine":2,"endColumn":22}
17 disabled: false 17 disabled: false
18 property 1 18 property 1
19 name: "margin" 19 name: "margin"
20 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":14} 20 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":14}
21 value: " 10px" 21 value: "10px"
22 range: {"startLine":3,"startColumn":15,"endLine":3,"endColumn":20} 22 range: {"startLine":3,"startColumn":16,"endLine":3,"endColumn":20}
23 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":21} 23 range: {"startLine":3,"startColumn":8,"endLine":3,"endColumn":21}
24 disabled: false 24 disabled: false
25 ====== 25 ======
26 Ranges OK. 26 Ranges OK.
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698