about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-11 22:43:58 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-11 22:43:58 +0100
commit7dccd37dc8f431486fbab0048cd8cc13f9523c61 (patch)
treece9a8addef119470e427d7607d62f01a9c84d9ef /test
parent6ad9176b251bdc869cb371b527ee65c9e0c8f62e (diff)
downloadchawan-7dccd37dc8f431486fbab0048cd8cc13f9523c61.tar.gz
render: fix a visibility bug
Diffstat (limited to 'test')
-rw-r--r--test/layout/visibility-switch-in-inline-box.expected1
-rw-r--r--test/layout/visibility-switch-in-inline-box.html8
2 files changed, 9 insertions, 0 deletions
diff --git a/test/layout/visibility-switch-in-inline-box.expected b/test/layout/visibility-switch-in-inline-box.expected
new file mode 100644
index 00000000..9daeafb9
--- /dev/null
+++ b/test/layout/visibility-switch-in-inline-box.expected
@@ -0,0 +1 @@
+test
diff --git a/test/layout/visibility-switch-in-inline-box.html b/test/layout/visibility-switch-in-inline-box.html
new file mode 100644
index 00000000..a382ccae
--- /dev/null
+++ b/test/layout/visibility-switch-in-inline-box.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<div style="visibility: hidden">
+<span>
+<div style="visibility: visible">
+test
+</div>
+</span>
+</div>