about summary refs log tree commit diff stats
path: root/test/layout/position-relative-stacking-context.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-09 18:26:45 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-09 18:38:00 +0100
commit0dcaa77525327f7ce56e8cd32328973ac1bf2793 (patch)
tree8fb3720082bfaab5903bfc9714bdf2edfaf77709 /test/layout/position-relative-stacking-context.html
parenta1dfab6f5882d0ba86cf0709ca05bc193289a599 (diff)
downloadchawan-0dcaa77525327f7ce56e8cd32328973ac1bf2793.tar.gz
renderdocument: basic stacking context support
negative z-index and inline positioning are still not respected, but
better than nothing I guess.
Diffstat (limited to 'test/layout/position-relative-stacking-context.html')
-rw-r--r--test/layout/position-relative-stacking-context.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/layout/position-relative-stacking-context.html b/test/layout/position-relative-stacking-context.html
new file mode 100644
index 00000000..2cbc18de
--- /dev/null
+++ b/test/layout/position-relative-stacking-context.html
@@ -0,0 +1,2 @@
+<div style="position: relative; top: 1em">relative</div>
+<div>static</div>