diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-10-28 19:35:36 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-10-28 19:35:36 +0100 |
| commit | 95e392b650643ba0638e49999f4cd6b7d9d3a23d (patch) | |
| tree | 0958b7661e7bf7b7db30aa1b5f667491fee4544d /test/layout/absolute-before-resolved-margins.html | |
| parent | 78658133f2baf8e4af241592fa7da21948cd62b1 (diff) | |
| download | chawan-95e392b650643ba0638e49999f4cd6b7d9d3a23d.tar.gz | |
layout: fix margin resolution for absolutely positioned boxes
Diffstat (limited to 'test/layout/absolute-before-resolved-margins.html')
| -rw-r--r-- | test/layout/absolute-before-resolved-margins.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/absolute-before-resolved-margins.html b/test/layout/absolute-before-resolved-margins.html new file mode 100644 index 00000000..29cddc03 --- /dev/null +++ b/test/layout/absolute-before-resolved-margins.html @@ -0,0 +1,10 @@ +<div style="margin-top: 1em"> +<div style="position: absolute"> +absolute +</div> +<div style="margin-top: 2em; margin-left: 10ch; margin-bottom: 1em"> +2em +</div> +<div style="position: absolute"> +absolute 2 +</div> |