diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-30 12:59:55 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-30 13:08:11 +0200 |
commit | ed2d399f716a3a0fb9175857781b0f70b54db032 (patch) | |
tree | 207cce94744e98a2aca996310776d0b2fba88698 /test/layout/flex-main-padding-border-box.html | |
parent | 96d3d12445c9a2e3bb00c0c242bdec6d37b11084 (diff) | |
download | chawan-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.html | 6 |
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 |