Bug 1146145 - Give references z-index:-1 so that they have the same z-ordering characteristics as the tests, for the case when edges of the text overlap the floats.
authorL. David Baron <dbaron@dbaron.org>
Sun, 22 Mar 2015 10:51:08 -0700
changeset 265301 ae395a4d961ac759442094904fc31754a4f62c41
parent 265300 052bf572cb946d7dda8867b54400bfc1d4c5c8d0
child 265302 6e36e76aa85537c2d141902c68f7058c43ea972a
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1146145
milestone39.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 1146145 - Give references z-index:-1 so that they have the same z-ordering characteristics as the tests, for the case when edges of the text overlap the floats.
layout/reftests/floats/float-in-rtl-1-ref.html
layout/reftests/floats/float-in-rtl-2-ref.html
layout/reftests/floats/float-in-rtl-3-ref.html
layout/reftests/floats/float-in-rtl-4-ref.html
--- a/layout/reftests/floats/float-in-rtl-1-ref.html
+++ b/layout/reftests/floats/float-in-rtl-1-ref.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html>
 <head>
 <title>Bug 1114329 testcase</title>
 </head>
 <body>
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;left:200px;"></div>
+  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;left:200px;z-index:-1;"></div>
 </div>
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;left:100px;"></div>
+  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;left:100px;z-index:-1;"></div>
 </div>
 <div style="background:silver;padding-right:calc(100% - 100px);">
 This text should appear to the LEFT of the red and green blocks.
 </div>
 </body>
 </html>
--- a/layout/reftests/floats/float-in-rtl-2-ref.html
+++ b/layout/reftests/floats/float-in-rtl-2-ref.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html>
 <head>
 <title>Bug 1114329 testcase</title>
 </head>
 <body>
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;left:0px;"></div>
+  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;left:0px;z-index:-1;"></div>
 </div>
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;left:100px;"></div>
+  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;left:100px;z-index:-1;"></div>
 </div>
 <div style="background:silver;padding-left:200px;">
 This text should appear to the RIGHT of the green and red blocks.
 </div>
 </body>
 </html>
--- a/layout/reftests/floats/float-in-rtl-3-ref.html
+++ b/layout/reftests/floats/float-in-rtl-3-ref.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html>
 <head>
 <title>Bug 1114329 testcase</title>
 </head>
 <body dir="rtl">
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;right:200px;"></div>
+  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;right:200px;z-index:-1;"></div>
 </div>
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;right:100px;"></div>
+  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;right:100px;z-index:-1;"></div>
 </div>
 <div style="background:silver;padding-left:calc(100% - 100px);">
 This text should appear to the RIGHT of the green and red blocks.
 </div>
 </body>
 </html>
--- a/layout/reftests/floats/float-in-rtl-4-ref.html
+++ b/layout/reftests/floats/float-in-rtl-4-ref.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html>
 <head>
 <title>Bug 1114329 testcase</title>
 </head>
 <body dir="rtl">
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;right:0px;"></div>
+  <div style="width:100px;height:120px;background:rgba(0,255,0,0.8);display:inline-block;position:relative;right:0px;z-index:-1;"></div>
 </div>
 <div style="width:0px;height:0px;overflow:visible">
-  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;right:100px;"></div>
+  <div style="width:100px;height:150px;background:rgba(255,0,0,0.8);display:inline-block;position:relative;right:100px;z-index:-1;"></div>
 </div>
 <div style="background:silver;padding-right:200px;">
 This text should appear to the LEFT of the red and green blocks.
 </div>
 </body>
 </html>