about summary refs log tree commit diff stats
path: root/test/layout/flex-main-padding-border-box.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-30 12:59:55 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-30 13:08:11 +0200
commited2d399f716a3a0fb9175857781b0f70b54db032 (patch)
tree207cce94744e98a2aca996310776d0b2fba88698 /test/layout/flex-main-padding-border-box.html
parent96d3d12445c9a2e3bb00c0c242bdec6d37b11084 (diff)
downloadchawan-ed2d399f716a3a0fb9175857781b0f70b54db032.tar.gz
layout: flex padding/margin fixes
Diffstat (limited to 'test/layout/flex-main-padding-border-box.html')
-rw-r--r--test/layout/flex-main-padding-border-box.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/layout/flex-main-padding-border-box.html b/test/layout/flex-main-padding-border-box.html
new file mode 100644
index 00000000..76b21bb4
--- /dev/null
+++ b/test/layout/flex-main-padding-border-box.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<style>* { box-sizing: border-box }</style>
+<div style="display: flex; margin-right: -2ch; margin-left: -2ch">
+<div style="flex-grow: 0; flex-shrink: 0; flex-basis: 100%; padding-right: 2ch; padding-left: 2ch">
+<div style="background: red">
+test