diff options
author | bptato <nincsnevem662@gmail.com> | 2024-10-16 22:13:53 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-10-16 22:18:21 +0200 |
commit | c20166207867f536201ae7148608b9db202a2739 (patch) | |
tree | d71e861d7182ad83929281c978c98d28608a2cef /test/layout | |
parent | fe0b8ee5f1128ddab8bc8be9c71339243d3e9de2 (diff) | |
download | chawan-c20166207867f536201ae7148608b9db202a2739.tar.gz |
layout: fix inline float + position: absolute bug
As per standard, float "only applies to elements that [...] are not absolutely positioned."
Diffstat (limited to 'test/layout')
-rw-r--r-- | test/layout/float-absolute.expected | 1 | ||||
-rw-r--r-- | test/layout/float-absolute.html | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/layout/float-absolute.expected b/test/layout/float-absolute.expected new file mode 100644 index 00000000..9daeafb9 --- /dev/null +++ b/test/layout/float-absolute.expected @@ -0,0 +1 @@ +test diff --git a/test/layout/float-absolute.html b/test/layout/float-absolute.html new file mode 100644 index 00000000..06eab6f5 --- /dev/null +++ b/test/layout/float-absolute.html @@ -0,0 +1,5 @@ +<span> +<div style="position: absolute; float: right"> +test +</div> +</span> |