aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/basic.list1
-rw-r--r--tests/ref/layerization_z_order_a.html26
-rw-r--r--tests/ref/layerization_z_order_ref.html22
3 files changed, 49 insertions, 0 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 72f98ee3402..14d9ae7ab9d 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -191,6 +191,7 @@ experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_at
== jumpiness_a.html jumpiness_ref.html
== last_child_pseudo_a.html last_child_pseudo_b.html
== last_of_type_pseudo_a.html last_of_type_pseudo_b.html
+== layerization_z_order_a.html layerization_z_order_ref.html
== legacy_cellspacing_attribute_a.html border_spacing_ref.html
== legacy_input_size_attribute_override_a.html legacy_input_size_attribute_override_ref.html
== legacy_table_border_attribute_a.html legacy_table_border_attribute_ref.html
diff --git a/tests/ref/layerization_z_order_a.html b/tests/ref/layerization_z_order_a.html
new file mode 100644
index 00000000000..8056764dfb1
--- /dev/null
+++ b/tests/ref/layerization_z_order_a.html
@@ -0,0 +1,26 @@
+<style>
+body, html {
+ margin: 0;
+}
+#a, #b {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+}
+#a {
+ z-index: 2;
+ background: red;
+}
+#b {
+ top: 50px;
+ left: 50px;
+ background: green;
+}
+#c {
+ position: fixed;
+}
+</style>
+<div id=a></div>
+<div id=b></div>
+<div id=c></div>
+
diff --git a/tests/ref/layerization_z_order_ref.html b/tests/ref/layerization_z_order_ref.html
new file mode 100644
index 00000000000..3fedaf228d2
--- /dev/null
+++ b/tests/ref/layerization_z_order_ref.html
@@ -0,0 +1,22 @@
+<style>
+body, html {
+ margin: 0;
+}
+#a, #b {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+}
+#a {
+ z-index: 2;
+ background: red;
+}
+#b {
+ top: 50px;
+ left: 50px;
+ background: green;
+}
+</style>
+<div id=a></div>
+<div id=b></div>
+