diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-01-28 20:01:39 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-01-28 20:01:39 +0100 |
| commit | de2fa37535fc47a636d3db1607ba753d8137d2a2 (patch) | |
| tree | dc1c8c43696481617bf2910685c5f48723cbf4f6 /test/layout/float-after-collapsing-margin-resolved-by-parent.html | |
| parent | e82dad535bd0e55427841a1d0b56a1194d0be0c6 (diff) | |
| download | chawan-de2fa37535fc47a636d3db1607ba753d8137d2a2.tar.gz | |
layout: fix some float margin resolution bugs
Diffstat (limited to 'test/layout/float-after-collapsing-margin-resolved-by-parent.html')
| -rw-r--r-- | test/layout/float-after-collapsing-margin-resolved-by-parent.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/float-after-collapsing-margin-resolved-by-parent.html b/test/layout/float-after-collapsing-margin-resolved-by-parent.html new file mode 100644 index 00000000..20fca89a --- /dev/null +++ b/test/layout/float-after-collapsing-margin-resolved-by-parent.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<div style="width: 50ch"> +<div style="margin-bottom: 1em">test</div> +<div id=empty style="margin-top: 1em"> +<div style="float: right">float</div> +</div> +<div id=full style="margin-top: 2em"> +test +</div> +</div> |