about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-07-02 19:46:53 +0200
committerbptato <nincsnevem662@gmail.com>2024-07-02 19:48:27 +0200
commitd015cf8c497869113e7a8d849ba6cae2f3db071b (patch)
tree8b91d428a55edbd62fa25754c53f58b15457caae /test
parent02b549ee0c7bda8ad110eba6aac14bafb10d45e3 (diff)
downloadchawan-d015cf8c497869113e7a8d849ba6cae2f3db071b.tar.gz
layout: fix positioning bug
top/left/right/bottom should only be used in renderdocument with
position: absolute.
Diffstat (limited to 'test')
-rw-r--r--test/layout/bottom-property-non-absolute.expected2
-rw-r--r--test/layout/bottom-property-non-absolute.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/layout/bottom-property-non-absolute.expected b/test/layout/bottom-property-non-absolute.expected
new file mode 100644
index 00000000..dec2cbe1
--- /dev/null
+++ b/test/layout/bottom-property-non-absolute.expected
@@ -0,0 +1,2 @@
+test
+test
diff --git a/test/layout/bottom-property-non-absolute.html b/test/layout/bottom-property-non-absolute.html
new file mode 100644
index 00000000..817aa289
--- /dev/null
+++ b/test/layout/bottom-property-non-absolute.html
@@ -0,0 +1,2 @@
+<div>test<div>
+<div style="bottom: 0">test</div>