Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc
authorJeremy Chen <jeremychen@mozilla.com>
Tue, 24 Mar 2015 01:21:00 -0400
changeset 266159 ce21be83c48b3bcfd6843a19877d300c576c19e5
parent 266158 7b4e1bd6c8aa4908668363a67492dce17a1beecd
child 266160 8df7f01875e849df537dc60215b1815f6e2086c9
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)
reviewersroc
bugs1140625
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 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc
layout/base/tests/chrome/scroll_selection_into_view_window.html
--- a/layout/base/tests/chrome/scroll_selection_into_view_window.html
+++ b/layout/base/tests/chrome/scroll_selection_into_view_window.html
@@ -3,63 +3,63 @@
 <head>
   <title>Test for scrolling selection into view</title>
 </head>
 <body onload="opener.doTest();">
 
 <div id="c1" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:200px; left:0;">
   <div style="height:400px;"></div>
   <div><span id="target1"
-        style="display:inline-block; vertical-align:top; height:20px;">target</span>
+        style="display:inline-block; vertical-align:top; height:20px;"></span>
   </div>
   <div style="height:400px;"></div>
 </div>
 <div id="c2" style="overflow:hidden; width:200px; height:200px; position:absolute; top:200px; left:200px;">
   <div style="height:400px;"></div>
   <div><span id="target2"
-        style="display:inline-block; vertical-align:top; height:20px;">target2</span>
+        style="display:inline-block; vertical-align:top; height:20px;"></span>
   </div>
   <div style="height:400px;"></div>
 </div>
 <div id="c3" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:200px; left:400px;">
   <div style="height:400px;"></div>
   <div><span id="target3"
-        style="display:inline-block; vertical-align:top; height:300px;">target3</span>
+        style="display:inline-block; vertical-align:top; height:300px;"></span>
   </div>
   <div style="height:400px;"></div>
 </div>
 <div id="c4" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:200px; left:600px;">
   <iframe id="target4" style="border:none; width:100%; height:1100px; display:block;"
           src="data:text/html,
                <body style='margin:0; overflow:hidden;'>
                  <div style='height:400px;'></div>
                  <div><span id='target4'
-                            style='display:inline-block; vertical-align:top; height:300px;'>target4</span>
+                            style='display:inline-block; vertical-align:top; height:300px;'></span>
                  </div>
                  <div style='height:400px;'></div>">
   </iframe>
 </div>
 <div id="c5" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:400px; left:0;">
   <div style="-moz-transform:translateY(400px); transform:translateY(400px)">
-    <span id="target5" style="display:inline-block; vertical-align:top; height:20px;">target</span>
+    <span id="target5" style="display:inline-block; vertical-align:top; height:20px;"></span>
   </div>
   <div style="height:800px;"></div>
 </div>
 <div id="c6" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:400px; left:200px;">
   <div style="height:200px"></div>
   <div style="height:100px; -moz-transform:scale(2); transform:scale(2)">
-    <span id="target6" style="display:inline-block; vertical-align:top; height:20px;">target</span>
+    <span id="target6" style="display:inline-block; vertical-align:top; height:20px;"></span>
   </div>
   <div style="height:800px;"></div>
 </div>
 <div id="c7" style="overflow-y:scroll; width:200px; height:200px; position:absolute; top:400px; left:400px;">
   <div style="overflow:auto; height:200px; -moz-transform:translateY(400px); transform:translateY(400px)">
     <div style="height:200px;"></div>
     <div>
-      <span id="target7" style="display:inline-block; vertical-align:top; height:20px;">target</span>
+      <span id="target7" style="display:inline-block; vertical-align:top; height:20px;"></span>
     </div>
     <div style="height:800px;"></div>
   </div>
   <div style="height:800px;"></div>
 </div>
 
 </body>