OLD | NEW |
(Empty) | |
| 1 div |
| 2 span[foo=bar] |
| 3 color red |
| 4 |
| 5 div input, |
| 6 input:nth-child(2n) |
| 7 color red |
| 8 |
| 9 #foo |
| 10 .bar::before |
| 11 color red |
| 12 |
| 13 #foo |
| 14 .bar { |
| 15 color red |
| 16 } |
| 17 |
| 18 {foo} {bar}:hover |
| 19 color red |
| 20 |
| 21 ---------------------------------------------------- |
| 22 |
| 23 [ |
| 24 ["selector", ["div\r\nspan[foo=bar]"]], |
| 25 ["property-declaration", [["property", ["color"]], " red"]], |
| 26 ["selector", ["div input", ["punctuation", ","], "\r\ninput:nth-child(2n
)"]], |
| 27 ["property-declaration", [["property", ["color"]], " red"]], |
| 28 ["selector", ["#foo"]], |
| 29 ["selector", [".bar::before"]], |
| 30 ["property-declaration", [["property", ["color"]], " red"]], |
| 31 ["selector", ["#foo"]], |
| 32 ["selector", [".bar ", ["punctuation", "{"]]], |
| 33 ["property-declaration", [["property", ["color"]], " red"]], |
| 34 ["punctuation", "}"], |
| 35 ["selector", [ |
| 36 ["interpolation", [ |
| 37 ["punctuation", "{"], "foo", ["punctuation", "}"] |
| 38 ]], |
| 39 ["interpolation", [ |
| 40 ["punctuation", "{"], "bar", ["punctuation", "}"] |
| 41 ]], |
| 42 ":hover" |
| 43 ]], |
| 44 ["property-declaration", [["property", ["color"]], " red"]] |
| 45 ] |
| 46 |
| 47 ---------------------------------------------------- |
| 48 |
| 49 Checks for selectors. |
OLD | NEW |