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 : b4bb464bab59dd1d8c5e6b8aa4402d040105b27d
This commit is contained in:
Robert O'Callahan 2014-07-07 17:46:29 +12:00
parent 0494ac0078
commit 38b537abbf
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