aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-15 22:08:28 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-15 22:08:28 +0100
commitf2b7e4e9f148e32fad7c4945c8264b58da1f0858 (patch)
treed12e235dc2e283b36feb347f5e98b58889804d4d /test
parentebdf6ba3641c67ab22e0de0c8851ac97fb0ea75b (diff)
downloadchawan-f2b7e4e9f148e32fad7c4945c8264b58da1f0858.tar.gz
ua.css: fix select multiple rendering
Diffstat (limited to 'test')
-rw-r--r--test/layout/select-multiple.expected6
-rw-r--r--test/layout/select-multiple.html12
2 files changed, 18 insertions, 0 deletions
diff --git a/test/layout/select-multiple.expected b/test/layout/select-multiple.expected
new file mode 100644
index 00000000..388c6ee8
--- /dev/null
+++ b/test/layout/select-multiple.expected
@@ -0,0 +1,6 @@
+
+[ ]test test test test test test test test test
+[ ]test
+[ ]test
+[ ]test
+test
diff --git a/test/layout/select-multiple.html b/test/layout/select-multiple.html
new file mode 100644
index 00000000..39097020
--- /dev/null
+++ b/test/layout/select-multiple.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<select multiple>
+<option>test test test test test test test test test</option>
+<option>test</option>
+<option>test</option>
+<option>test</option>
+</select>
+
+<!-- Note: mainstream browsers tend to put this next to the select.
+ However, w3m puts it after the select (i.e. treats it as block),
+ and so do we.-->
+test