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.

--HG--
extra : rebase_source : 2534f87eec88d5eba40726032e74ce85ac13be64
This commit is contained in:
Robert O'Callahan 2014-07-07 17:46:29 +12:00
parent 21dc27acfc
commit b27c164603
3 changed files with 15 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -1813,4 +1813,5 @@ 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