summaryrefslogtreecommitdiff
path: root/src/parse/language.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-12-01 12:14:46 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-12-01 12:14:46 +0000
commit682a216c41d55a0c8d76297f2411277b6c699e39 (patch)
treefd92373a13382fa0c0d9d414095d5d7209fd79af /src/parse/language.h
parent1fb312312cdd01b3cf59950eacc7762f01c41a50 (diff)
downloadlibcss-682a216c41d55a0c8d76297f2411277b6c699e39.tar.gz
libcss-682a216c41d55a0c8d76297f2411277b6c699e39.tar.bz2
Add end-block-content parse event
In order to cope with a situation where a block ends with a selector which has no ruleset, add an end-block-content event and in handling it, pop any intermediate states off the language stack so that we're in block mode by the time the event is completed. This fixes an assert situation caused by a ruleset such as: @media screen { dodgy } .outer { top: 10px; } Which has been encountered in the wild (likely a typo). Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'src/parse/language.h')
0 files changed, 0 insertions, 0 deletions