diff options
author | bptato <nincsnevem662@gmail.com> | 2024-11-02 13:33:20 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-11-02 13:33:44 +0100 |
commit | 9a0ce5a578de92361f338c0d823f5ff865dcc2b1 (patch) | |
tree | c94903feb0f36459676bc2b19f2018764c50261f /test/layout | |
parent | 8c99938d27afedea3f4f93d5b21e4148ca535af4 (diff) | |
download | chawan-9a0ce5a578de92361f338c0d823f5ff865dcc2b1.tar.gz |
cssparser: fix parsing of unrecognized at rules
+ clean up a bit
Diffstat (limited to 'test/layout')
-rw-r--r-- | test/layout/rule-after-unrecognized-at-rule.color.expected | 1 | ||||
-rw-r--r-- | test/layout/rule-after-unrecognized-at-rule.html | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/layout/rule-after-unrecognized-at-rule.color.expected b/test/layout/rule-after-unrecognized-at-rule.color.expected new file mode 100644 index 00000000..864ff958 --- /dev/null +++ b/test/layout/rule-after-unrecognized-at-rule.color.expected @@ -0,0 +1 @@ +[38;2;41;169;42mcolor me green[39m diff --git a/test/layout/rule-after-unrecognized-at-rule.html b/test/layout/rule-after-unrecognized-at-rule.html new file mode 100644 index 00000000..59732275 --- /dev/null +++ b/test/layout/rule-after-unrecognized-at-rule.html @@ -0,0 +1,8 @@ +<style> +* { color: red } +@media screen { + @asdf aa { } + * { color: green } +} +</style> +color me green |