aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-18 02:19:47 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-18 02:23:45 +0100
commitf4daa425483e902e2bd43b82427fe10a27eaca66 (patch)
treeb55c8d567cd8f36771c0b01b84d2e03d8303c395 /test/layout
parent13f395f20bd786d6c055b59ad19e9018d85bc139 (diff)
downloadchawan-f4daa425483e902e2bd43b82427fe10a27eaca66.tar.gz
match: fix nested hover selector
I didn't get it right :( true is the default return value, and true + continue should resolve to false.
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/nested-hover-selector.expected2
-rw-r--r--test/layout/nested-hover-selector.html8
2 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/nested-hover-selector.expected b/test/layout/nested-hover-selector.expected
new file mode 100644
index 00000000..078ed88b
--- /dev/null
+++ b/test/layout/nested-hover-selector.expected
@@ -0,0 +1,2 @@
+
+ • li
diff --git a/test/layout/nested-hover-selector.html b/test/layout/nested-hover-selector.html
new file mode 100644
index 00000000..4f61edeb
--- /dev/null
+++ b/test/layout/nested-hover-selector.html
@@ -0,0 +1,8 @@
+<style>
+ul ul { display: none }
+ul li:hover ul { display: block }
+</style>
+<ul>
+<li>li
+<ul id=x>
+test