DescriptionCSS Parser: Handle at-rules in declaration lists
The css-syntax spec allows for at-rules in declaration lists. While we
don't currently support any instances of this (the only case I know
where this is used is in @page rules), we should still have the logic
so we can correctly perform error recovery here.
For example, ".a { @x { } left: 10px }" should still apply the left
property since the at-rule ends at the }.
http://dev.w3.org/csswg/css-syntax/#consume-list-of-declarations
BUG=330389
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193243
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 6 (2 generated)
|