div width 40px color: red background: blue; animation-name test1, animation4 div { background-{foo}: bar; } div {foo} bar comment content 'http://www.example.com' // comment background url(http://example.com) /* comment */ background /* comment */ url("http://example.com") content '/* this is string not comment */' ---------------------------------------------------- [ ["selector", ["div"]], ["property-declaration", [ ["property", ["width"]], ["number", "40"], ["unit", "px"] ]], ["property-declaration", [ ["property", ["color"]], ["punctuation", ":"], ["color", "red"] ]], ["property-declaration", [ ["property", ["background"]], ["punctuation", ":"], ["color", "blue"], ["punctuation", ";"] ]], ["property-declaration", [ ["property", ["animation-name"]], " test1", ["punctuation", ","], " animation4"]], ["selector", ["div ", ["punctuation", "{"]]], ["property-declaration", [ ["property", [ "background-", ["interpolation", [ ["delimiter", "{"], "foo", ["delimiter", "}"] ]] ]], ["punctuation", ":"], " bar", ["punctuation", ";"] ]], ["punctuation", "}"], ["selector", ["div"]], ["property-declaration", [ ["property", [ ["interpolation", [ ["delimiter", "{"], "foo", ["delimiter", "}"] ]] ]], " bar" ]], ["selector", ["comment"]], ["property-declaration", [ ["property", ["content"]], ["string", "'http://www.example.com'"], ["comment", "// comment"] ]], ["property-declaration", [ ["property", ["background"]], ["url", "url(http://example.com)"], ["comment", "/* comment */"] ]], ["property-declaration", [ ["property", ["background"]], ["comment", "/* comment */"], ["url", "url(\"http://example.com\")"] ]], ["property-declaration", [ ["property", ["content"]], ["string", "'/* this is string not comment */'"] ]] ] ---------------------------------------------------- Checks for property declarations.