Fix test to not depend on hover state. No bug. r=roc.
authorBoris Zbarsky <bzbarsky@mit.edu>
Sat, 03 Dec 2011 03:29:59 -0500
changeset 82864 f2a900675770e8c5717cedeaf3a5ade41310e484
parent 82863 66f61be58aa3ad1614db3acaab2f5f42e247b6b2
child 82865 fa6a273a9b41efd96215b1b3f564a3743a6ef0cd
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
milestone11.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
Fix test to not depend on hover state. No bug. r=roc.
layout/reftests/bugs/491323-1-ref.xul
layout/reftests/bugs/491323-1.xul
--- a/layout/reftests/bugs/491323-1-ref.xul
+++ b/layout/reftests/bugs/491323-1-ref.xul
@@ -1,8 +1,15 @@
 <?xml version="1.0"?>
 <window xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 <hbox flex="1">
+  <html:style>
+    /* Make sure our splitter's background doesn't depend on its hover styles */
+    splitter {
+      background-color: yellow;
+      -moz-appearance: none;
+    }
+  </html:style>
   <splitter collapse="before" resizeafter="farthest" width="200" id="s">
   </splitter>
 </hbox>
 </window>
--- a/layout/reftests/bugs/491323-1.xul
+++ b/layout/reftests/bugs/491323-1.xul
@@ -1,13 +1,20 @@
 <?xml version="1.0"?>
 <window xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="loaded()">
 <hbox flex="1">
+  <html:style>
+    /* Make sure our splitter's background doesn't depend on its hover styles */
+    splitter {
+      background-color: yellow;
+      -moz-appearance: none;
+    }
+  </html:style>
   <script>
   function loaded() {
     document.documentElement.getBoundingClientRect();
     document.getElementById("s").setAttribute("state", "collapsed");
   }
   </script>
   <iframe width="200" src="data:text/html,hello"/>
   <splitter collapse="before" resizeafter="farthest" width="200" id="s">