Index: LayoutTests/inspector/syntax-highlight-css-expected.txt |
diff --git a/LayoutTests/inspector/syntax-highlight-css-expected.txt b/LayoutTests/inspector/syntax-highlight-css-expected.txt |
index 3e0b36b87bae8e8acdba6bdda1eb113c6244803e..c91c287ddd5bd6ab17058184f067361cac5359e3 100644 |
--- a/LayoutTests/inspector/syntax-highlight-css-expected.txt |
+++ b/LayoutTests/inspector/syntax-highlight-css-expected.txt |
@@ -1,15 +1,15 @@ |
Tests that (S)CSS syntax highlighter properly detects the tokens. |
-a[href='/']: cm-css-tag,*,cm-css-tag,*,cm-css-string,* |
-#content > a:hover: cm-css-builtin,*,cm-css-tag,cm-css-operator,cm-css-tag |
-@import url(style.css);: cm-css-def,*,cm-css-tag,*,cm-css-string,* |
-@import url("style.css") projection, tv;: cm-css-def,*,cm-css-tag,*,cm-css-string,*,cm-css-tag,*,cm-css-tag,* |
-@import "/css/fireball_unicode.css"; html {}: cm-css-def,*,cm-css-string,*,cm-css-tag,* |
-@media screen { body { color: red; } }: cm-css-def,*,cm-css-attribute,*,cm-css-tag,*,cm-css-property,cm-css-operator,*,cm-css-keyword,* |
-@font-face { font-family: "MyHelvetica"; }: cm-css-def,*,cm-css-property,cm-css-operator,*,cm-css-string,* |
-p { color: color; red: red; color: #000; color: #FFF; color: #123AbC; color: #faebfe; color:papayawhip; }: cm-css-tag,*,cm-css-property,cm-css-operator,*,cm-css-variable-2,*,cm-css-keyword,cm-css-operator,*,cm-css-keyword,*,cm-css-property,cm-css-operator,*,cm-css-atom,*,cm-css-property,cm-css-operator,*,cm-css-atom,*,cm-css-property,cm-css-operator,*,cm-css-atom,*,cm-css-property,cm-css-operator,*,cm-css-atom,*,cm-css-property,cm-css-operator,cm-css-keyword,* |
-p { margin: -10px !important; }: cm-css-tag,*,cm-css-property,cm-css-operator,*,cm-css-number,*,cm-css-keyword,* |
-$margin-left: $offsetBefore + 12px + $offsetAfter;: cm-css-variable-2,cm-css-operator,*,cm-css-variable-2,*,cm-css-number,*,cm-css-variable-2,* |
+a[href='/']: cm-css-tag, *, cm-css-tag, *, cm-css-string, * |
+#content > a:hover: cm-css-builtin, *, cm-css-tag, *, cm-css-variable-3 |
+@import url(style.css);: cm-css-def, *, cm-css-tag, *, cm-css-string, * |
+@import url("style.css") projection, tv;: cm-css-def, *, cm-css-tag, *, cm-css-string, *, cm-css-tag, *, cm-css-tag, * |
+@import "/css/fireball_unicode.css"; html {}: cm-css-def, *, cm-css-string, *, cm-css-tag, * |
+@media screen { body { color: red; } }: cm-css-def, *, cm-css-attribute, *, cm-css-tag, *, cm-css-property, *, cm-css-keyword, * |
+@font-face { font-family: "MyHelvetica"; }: cm-css-def, *, cm-css-property, *, cm-css-string, * |
+p { color: color; red: red; color: #000; color: #FFF; color: #123AbC; color: #faebfe; color:papayawhip; }: cm-css-tag, *, cm-css-property, *, cm-css-variable, *, cm-css-property, *, cm-css-variable-3, *, cm-css-property, *, cm-css-atom, *, cm-css-property, *, cm-css-atom, *, cm-css-property, *, cm-css-atom, *, cm-css-property, *, cm-css-atom, *, cm-css-property, *, cm-css-keyword, * |
+p { margin: -10px !important; }: cm-css-tag, *, cm-css-property, *, cm-css-number, *, cm-css-keyword, * |
+$margin-left: $offsetBefore + 12px + $offsetAfter;: cm-css-variable-2, *, cm-css-variable-2, *, cm-css-number, *, cm-css-variable-2, * |
$type: monster; |
p { |
@if $type == ocean { |
@@ -21,15 +21,15 @@ color: green; |
} @else { |
color: black; |
} |
-}: cm-css-variable-2,cm-css-operator,*,cm-css-variable-2,*,,cm-css-tag,*,,cm-css-def,*,cm-css-variable-2,*,cm-css-tag,*,,cm-css-property,cm-css-operator,*,cm-css-keyword,*,,*,cm-css-def,*,cm-css-tag,*,cm-css-variable-2,*,cm-css-tag,*,,cm-css-property,cm-css-operator,*,cm-css-keyword,*,,*,cm-css-def,*,cm-css-tag,*,cm-css-variable-2,*,cm-css-tag,*,,cm-css-property,cm-css-operator,*,cm-css-keyword,*,,*,cm-css-def,*,,cm-css-property,cm-css-operator,*,cm-css-keyword,*,,*,,* |
-@for $i from 1 through 3 { .item-#{$i} { width: 2em * $i; } }: cm-css-def,*,cm-css-variable-2,*,cm-css-tag,*,cm-css-number,*,cm-css-tag,*,cm-css-number,*,cm-css-qualifier,cm-css-operator,cm-css-variable-2,cm-css-operator,*,cm-css-property,cm-css-operator,*,cm-css-number,*,cm-css-variable-2,* |
+}: cm-css-variable-2, *, cm-css-variable, *, , cm-css-tag, *, , cm-css-def, *, cm-css-variable-2, *, cm-css-tag, *, , cm-css-property, *, cm-css-keyword, *, , *, cm-css-def, *, cm-css-tag, *, cm-css-variable-2, *, cm-css-tag, *, , cm-css-property, *, cm-css-keyword, *, , *, cm-css-def, *, cm-css-tag, *, cm-css-variable-2, *, cm-css-tag, *, , cm-css-property, *, cm-css-keyword, *, , *, cm-css-def, *, , cm-css-property, *, cm-css-keyword, *, , *, , * |
+@for $i from 1 through 3 { .item-#{$i} { width: 2em * $i; } }: cm-css-def, *, cm-css-variable-2, *, cm-css-tag, *, cm-css-number, *, cm-css-tag, *, cm-css-number, *, cm-css-qualifier, *, cm-css-variable-2, *, cm-css-property, *, cm-css-number, *, cm-css-variable-2, * |
@mixin adjust-location($x, $y) { |
@if unitless($x) { |
@warn "Assuming #{$x} to be in pixels"; |
$x: 1px * $x; |
} |
position: relative; left: $x; top: $y; |
-}: cm-css-def,*,cm-css-tag,*,cm-css-variable-2,*,cm-css-variable-2,*,,cm-css-def,*,cm-css-tag,*,cm-css-variable-2,*,,cm-css-def,*,cm-css-string,*,,cm-css-variable-2,cm-css-operator,*,cm-css-number,*,cm-css-variable-2,*,,*,,cm-css-property,cm-css-operator,*,cm-css-string-2,*,cm-css-property,cm-css-operator,*,cm-css-variable-2,*,cm-css-property,cm-css-operator,*,cm-css-variable-2,*,,* |
+}: cm-css-def, *, cm-css-tag, *, cm-css-variable-2, *, cm-css-variable-2, *, , cm-css-def, *, cm-css-tag, *, cm-css-variable-2, *, , cm-css-def, *, cm-css-string, *, , cm-css-variable-2, *, cm-css-number, *, cm-css-variable-2, *, , *, , cm-css-property, *, cm-css-atom, *, cm-css-property, *, cm-css-variable-2, *, cm-css-property, *, cm-css-variable-2, *, , * |
#navbar { |
$navbar-width: 800px; |
$items: 5; |
@@ -45,5 +45,5 @@ background-color: lighten($navbar-color, 20%); |
background-color: lighten($navbar-color, 10%); |
} |
} |
-}: cm-css-builtin,*,,cm-css-variable-2,cm-css-operator,*,cm-css-number,*,,cm-css-variable-2,cm-css-operator,*,cm-css-number,*,,cm-css-variable-2,cm-css-operator,*,cm-css-atom,*,,cm-css-property,cm-css-operator,*,cm-css-variable-2,*,,cm-css-property,cm-css-operator,*,cm-css-number,*,cm-css-string-2,*,cm-css-variable-2,*,,cm-css-tag,*,,cm-css-def,*,cm-css-qualifier,*,cm-css-keyword,*,,cm-css-property,cm-css-operator,*,cm-css-string-2,*,,cm-css-property,cm-css-operator,*,cm-css-variable-2,cm-css-operator,cm-css-variable-2,*,cm-css-number,*,,cm-css-property,cm-css-operator,*,cm-css-variable-2,*,cm-css-variable-2,*,cm-css-number,*,,cm-css-tag,cm-css-operator,cm-css-tag,*,,cm-css-property,cm-css-operator,*,cm-css-variable-2,*,cm-css-variable-2,*,cm-css-number,*,,*,,*,,* |
+}: cm-css-builtin, *, , cm-css-variable-2, *, cm-css-number, *, , cm-css-variable-2, *, cm-css-number, *, , cm-css-variable-2, *, cm-css-atom, *, , cm-css-property, *, cm-css-variable-2, *, , cm-css-property, *, cm-css-number, *, cm-css-atom, *, cm-css-variable-2, *, , cm-css-tag, *, , cm-css-def, *, cm-css-qualifier, *, cm-css-keyword, *, , cm-css-property, *, cm-css-atom, *, , cm-css-property, *, cm-css-variable-2, cm-css-operator, cm-css-variable-2, *, cm-css-number, *, , cm-css-property, *, cm-css-variable, *, cm-css-variable-2, *, cm-css-number, *, , *, cm-css-variable-3, *, , cm-css-property, *, cm-css-variable, *, cm-css-variable-2, *, cm-css-number, *, , *, , *, , * |