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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sass/test-ast-scss-3-expected.txt

Issue 1511073002: DevTools: [SASS] introduce sass module, implement SCSS AST-builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: introduce ASTDocument Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sass/test-ast-scss-3-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sass/test-ast-scss-3-expected.txt b/third_party/WebKit/LayoutTests/inspector/sass/test-ast-scss-3-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db0db39b84a54d912c5bafb97934069887c7babb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/sass/test-ast-scss-3-expected.txt
@@ -0,0 +1,75 @@
+Verifies AST of SCSS with mixins.
+
+@mixin awesome {
+ width: 100%;
+ height: 100%;
+}
+
+@mixin border-radius($radius) {
+ -webkit-border-radius: $radius;
+ -moz-border-radius: $radius;
+ -ms-border-radius: $radius;
+ border-radius: $radius;
+}
+
+div {
+ @include border-radius(15px);
+ @include awesome;
+}
+
+=== AST ===
+rule 0: "variables"
+rule 1: "properties"
+ property 0
+ name: "width"
+ range: {"startLine":1,"startColumn":4,"endLine":1,"endColumn":9}
+ value: " 100%"
+ range: {"startLine":1,"startColumn":10,"endLine":1,"endColumn":15}
+ range: {"startLine":1,"startColumn":4,"endLine":1,"endColumn":16}
+ disabled: false
+ property 1
+ name: "height"
+ range: {"startLine":2,"startColumn":4,"endLine":2,"endColumn":10}
+ value: " 100%"
+ range: {"startLine":2,"startColumn":11,"endLine":2,"endColumn":16}
+ range: {"startLine":2,"startColumn":4,"endLine":2,"endColumn":17}
+ disabled: false
+ property 2
+ name: "-webkit-border-radius"
+ range: {"startLine":6,"startColumn":2,"endLine":6,"endColumn":23}
+ value: " $radius"
+ range: {"startLine":6,"startColumn":24,"endLine":6,"endColumn":32}
+ range: {"startLine":6,"startColumn":2,"endLine":6,"endColumn":33}
+ disabled: false
+ property 3
+ name: "-moz-border-radius"
+ range: {"startLine":7,"startColumn":5,"endLine":7,"endColumn":23}
+ value: " $radius"
+ range: {"startLine":7,"startColumn":24,"endLine":7,"endColumn":32}
+ range: {"startLine":7,"startColumn":5,"endLine":7,"endColumn":33}
+ disabled: false
+ property 4
+ name: "-ms-border-radius"
+ range: {"startLine":8,"startColumn":6,"endLine":8,"endColumn":23}
+ value: " $radius"
+ range: {"startLine":8,"startColumn":24,"endLine":8,"endColumn":32}
+ range: {"startLine":8,"startColumn":6,"endLine":8,"endColumn":33}
+ disabled: false
+ property 5
+ name: "border-radius"
+ range: {"startLine":9,"startColumn":10,"endLine":9,"endColumn":23}
+ value: " $radius"
+ range: {"startLine":9,"startColumn":24,"endLine":9,"endColumn":32}
+ range: {"startLine":9,"startColumn":10,"endLine":9,"endColumn":33}
+ disabled: false
+rule 2: "mixins"
+ property 0
+ name: "@include border-radius"
+ range: {"startLine":13,"startColumn":4,"endLine":13,"endColumn":26}
+ value: "15px"
+ range: {"startLine":13,"startColumn":27,"endLine":13,"endColumn":31}
+ range: {"startLine":13,"startColumn":4,"endLine":13,"endColumn":32}
+ disabled: false
+======
+Ranges OK.
+

Powered by Google App Engine
This is Rietveld 408576698