about summary refs log tree commit diff stats
path: root/test/layout/colored-inline-block-squares.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-31 16:57:23 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-31 16:57:48 +0200
commitee94caf0628730135c8bd4b46dc913a50d7ae2b6 (patch)
treed5102d02b605b0f85b91d350876c9c9d676bab83 /test/layout/colored-inline-block-squares.html
parent27a39add498a9b1dca790c11a14cc3320cce2e31 (diff)
downloadchawan-ee94caf0628730135c8bd4b46dc913a50d7ae2b6.tar.gz
layout: line box sizing fixes
* do not use inline block computed values for wrapper fragment
* fix minimum line box height calculation
Diffstat (limited to 'test/layout/colored-inline-block-squares.html')
-rw-r--r--test/layout/colored-inline-block-squares.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/layout/colored-inline-block-squares.html b/test/layout/colored-inline-block-squares.html
new file mode 100644
index 00000000..47a3acd3
--- /dev/null
+++ b/test/layout/colored-inline-block-squares.html
@@ -0,0 +1,13 @@
+<div>one
+<div style="display: inline-block; margin: 2ch; width: 20ch; height: 20ch; background-color: blue">
+?<br>
+</div>
+<div style="display: inline-block; margin: 6ch; width: 20ch; height: 20ch; background-color: blue">
+?<br>
+</div>
+??
+<div style="display: inline-block; margin-left: 5ch; margin-top: 1em; width: 20ch; background-color: green">?<br><br><br><br><br><br><br><br><br><br><br></div>w
+<br>
+<div style="display: inline-block; margin-left: 6ch; width: 20ch; height: 20ch; background-color: red">?</div>
+w two
+</div>