OLD | NEW |
(Empty) | |
| 1 div |
| 2 width 40px |
| 3 color: red |
| 4 background: blue; |
| 5 |
| 6 div { |
| 7 background-{foo}: bar; |
| 8 } |
| 9 |
| 10 div |
| 11 {foo} bar |
| 12 |
| 13 ---------------------------------------------------- |
| 14 |
| 15 [ |
| 16 ["selector", ["div"]], |
| 17 ["property-declaration", [ |
| 18 ["property", ["width"]], ["number", "40"], "px" |
| 19 ]], |
| 20 ["property-declaration", [ |
| 21 ["property", ["color"]], ["punctuation", ":"], " red" |
| 22 ]], |
| 23 ["property-declaration", [ |
| 24 ["property", ["background"]], ["punctuation", ":"], " blue", ["p
unctuation", ";"] |
| 25 ]], |
| 26 ["selector", ["div ", ["punctuation", "{"]]], |
| 27 ["property-declaration", [ |
| 28 ["property", [ |
| 29 "background-", |
| 30 ["interpolation", [ |
| 31 ["punctuation", "{"], "foo", ["punctuation", "}"
] |
| 32 ]] |
| 33 ]], |
| 34 ["punctuation", ":"], |
| 35 " bar", |
| 36 ["punctuation", ";"] |
| 37 ]], |
| 38 ["punctuation", "}"], |
| 39 ["selector", ["div"]], |
| 40 ["property-declaration", [ |
| 41 ["property", [ |
| 42 ["interpolation", [ |
| 43 ["punctuation", "{"], "foo", ["punctuation", "}"
] |
| 44 ]] |
| 45 ]], |
| 46 " bar" |
| 47 ]] |
| 48 ] |
| 49 |
| 50 ---------------------------------------------------- |
| 51 |
| 52 Checks for property declarations. |
OLD | NEW |