aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-23 13:30:56 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-23 13:40:06 +0200
commit041ebc4534088e5d550e9cc628a17c93ca087d2b (patch)
treed8ac9c99c4c6dff5bbced837d5126eb30ec05611 /test/layout
parent5f6e6630bf853550b09388c75d605da376adc88a (diff)
downloadchawan-041ebc4534088e5d550e9cc628a17c93ca087d2b.tar.gz
layout: avoid shrink-to-fit padding/margin overflow
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/flex-column-child-padding.expected8
-rw-r--r--test/layout/flex-column-child-padding.html7
2 files changed, 15 insertions, 0 deletions
diff --git a/test/layout/flex-column-child-padding.expected b/test/layout/flex-column-child-padding.expected
new file mode 100644
index 00000000..feb78570
--- /dev/null
+++ b/test/layout/flex-column-child-padding.expected
@@ -0,0 +1,8 @@
+ test test test test test test
+ test test test test test test
+ test test test test test test
+ test test test test test test
+ test test test test test test
+ test test test test test test
+ test test test test test test
+ test test test test test test
diff --git a/test/layout/flex-column-child-padding.html b/test/layout/flex-column-child-padding.html
new file mode 100644
index 00000000..4ee79b55
--- /dev/null
+++ b/test/layout/flex-column-child-padding.html
@@ -0,0 +1,7 @@
+<div style="display: flex; flex-direction: column">
+<div style="padding-left: 50ch">
+test test test test test test test test test test test test test test test test test test test test test test test test
+</div>
+</div>
+<div style="display: inline-block; margin-left: 50ch">
+test test test test test test test test test test test test test test test test test test test test test test test test