diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-01-23 01:11:30 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-01-23 01:13:48 +0100 |
| commit | d958d7d8761f70abbc66765e2e69a3bb67ff125d (patch) | |
| tree | 9da4da49a6a4b44989d38e872be884b077ff5371 /test | |
| parent | 7862eb840ad1964484352cdfa5458edda413fe0d (diff) | |
| download | chawan-d958d7d8761f70abbc66765e2e69a3bb67ff125d.tar.gz | |
layout: fix an absolute sizing bug
it's size.h, not size.w
Diffstat (limited to 'test')
| -rw-r--r-- | test/layout/absolute-top-bottom-conflict-in-indefinite-parent.color.expected | 2 | ||||
| -rw-r--r-- | test/layout/absolute-top-bottom-conflict-in-indefinite-parent.html | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/layout/absolute-top-bottom-conflict-in-indefinite-parent.color.expected b/test/layout/absolute-top-bottom-conflict-in-indefinite-parent.color.expected new file mode 100644 index 00000000..39cea737 --- /dev/null +++ b/test/layout/absolute-top-bottom-conflict-in-indefinite-parent.color.expected @@ -0,0 +1,2 @@ +[48;2;255;0;0m [49m +[48;2;255;0;0m [49m diff --git a/test/layout/absolute-top-bottom-conflict-in-indefinite-parent.html b/test/layout/absolute-top-bottom-conflict-in-indefinite-parent.html new file mode 100644 index 00000000..26494f77 --- /dev/null +++ b/test/layout/absolute-top-bottom-conflict-in-indefinite-parent.html @@ -0,0 +1,3 @@ +<!DOCTYPE html> +<div style="position: relative"> +<div style="position: absolute; top: 0; bottom: 0; padding: 1em; background: red"> |