Bug 1022612. Part 19: Test that merged display item lists merge their contents in the correct z-order. r=mattwoodrow
☠☠ backed out by d43eac5bf947 ☠ ☠
authorRobert O'Callahan <robert@ocallahan.org>
Mon, 07 Jul 2014 17:46:29 +1200
changeset 215930 b4b6049145dcca3aef82b3514cf023d5c5b458b7
parent 215929 376c45f4d905aff7b1f4161fd6bf8a52c7b286ba
child 215931 2f6cb0f412f7e6bd0c76acf6820734f06b7ae640
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1022612
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1022612. Part 19: Test that merged display item lists merge their contents in the correct z-order. r=mattwoodrow Prior to this patch, the only tests that caught this were a couple of obscure cases on B2G. This test tests it on all platforms.
layout/reftests/bugs/1022612-1-ref.html
layout/reftests/bugs/1022612-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1022612-1-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE HTML>
+<div style="width:400px;">
+  <span style="opacity:0.5;">
+    <span style="position:relative; display:inline-block; width:400px; height:200px;"></span>
+    <span style="position:relative; top:-300px; display:inline-block; background:lime; width:400px; height:400px;"></span>
+  </span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1022612-1.html
@@ -0,0 +1,7 @@
+<!DOCTYPE HTML>
+<div style="width:400px;">
+  <span style="opacity:0.5;">
+    <span style="position:relative; display:inline-block; background:red; width:400px; height:200px;"></span>
+    <span style="position:relative; top:-300px; display:inline-block; background:lime; width:400px; height:400px;"></span>
+  </span>
+</div>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1808,9 +1808,10 @@ skip-if(Android) == 966510-2.html 966510
 == 985303-1a.html 985303-1-ref.html
 == 985303-1b.html 985303-1-ref.html
 == 987680-1.html 987680-1-ref.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,24) == 991046-1.html 991046-1-ref.html
 pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
 pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html
 pref(layout.css.will-change.enabled,true) == 1018522-1.html 1018522-1-ref.html
 pref(browser.display.use_document_fonts,0) == 1022481-1.html 1022481-1-ref.html
+== 1022612-1.html 1022612-1-ref.html
 == 1024473-1.html 1024473-1-ref.html