about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-23 13:14:49 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-23 13:14:49 +0200
commit5f6e6630bf853550b09388c75d605da376adc88a (patch)
treec67f07530639bb393548516ea080c1356fd876a0 /test
parent8b517a111d6020f448ff747ac4a2555d2e4160dc (diff)
downloadchawan-5f6e6630bf853550b09388c75d605da376adc88a.tar.gz
layout: get rid of incorrect hack
Diffstat (limited to 'test')
-rw-r--r--test/layout/fit-content-max-width-child.expected2
-rw-r--r--test/layout/fit-content-max-width-child.html5
2 files changed, 7 insertions, 0 deletions
diff --git a/test/layout/fit-content-max-width-child.expected b/test/layout/fit-content-max-width-child.expected
new file mode 100644
index 00000000..2d6235b7
--- /dev/null
+++ b/test/layout/fit-content-max-width-child.expected
@@ -0,0 +1,2 @@
+testing testing testing testing testing testing testing testing
+testing testing
diff --git a/test/layout/fit-content-max-width-child.html b/test/layout/fit-content-max-width-child.html
new file mode 100644
index 00000000..c2d77ad1
--- /dev/null
+++ b/test/layout/fit-content-max-width-child.html
@@ -0,0 +1,5 @@
+<div style="display: inline-block">
+<div style="max-width: 70ch">
+testing testing testing testing testing testing testing testing testing testing
+</div>
+</div>