about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-02 13:33:20 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-02 13:33:44 +0100
commit9a0ce5a578de92361f338c0d823f5ff865dcc2b1 (patch)
treec94903feb0f36459676bc2b19f2018764c50261f /test/layout
parent8c99938d27afedea3f4f93d5b21e4148ca535af4 (diff)
downloadchawan-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.expected1
-rw-r--r--test/layout/rule-after-unrecognized-at-rule.html8
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 @@
+color me green
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