about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-19 19:20:41 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-19 19:20:41 +0100
commit1827b2e7851a99d49d5573ea5a418d21b17791d5 (patch)
tree4768a0bfe610d6aea2c7b4c8afb6f19b5dbc9c15 /test
parent58a833789dacd6577fc23c382614652033209d76 (diff)
downloadchawan-1827b2e7851a99d49d5573ea5a418d21b17791d5.tar.gz
layout: fix intrinsic min width with whitespace: pre
Diffstat (limited to 'test')
-rw-r--r--test/layout/whitespace-pre-sets-intrinsic-min-width.expected2
-rw-r--r--test/layout/whitespace-pre-sets-intrinsic-min-width.html9
2 files changed, 11 insertions, 0 deletions
diff --git a/test/layout/whitespace-pre-sets-intrinsic-min-width.expected b/test/layout/whitespace-pre-sets-intrinsic-min-width.expected
new file mode 100644
index 00000000..41ec778e
--- /dev/null
+++ b/test/layout/whitespace-pre-sets-intrinsic-min-width.expected
@@ -0,0 +1,2 @@
+
+ cell 1 cell 2
diff --git a/test/layout/whitespace-pre-sets-intrinsic-min-width.html b/test/layout/whitespace-pre-sets-intrinsic-min-width.html
new file mode 100644
index 00000000..07c81f25
--- /dev/null
+++ b/test/layout/whitespace-pre-sets-intrinsic-min-width.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<table>
+<tr>
+<td>
+<pre>
+cell 1
+<td width=100%>
+<br>
+cell 2