Bug 965526 - Disable the native theme on the textboxes in the test case for bug 585922. a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 29 Jan 2014 14:57:31 -0800
changeset 176111 6b12800e0e4663f59bff8ce46502a8c10649345d
parent 176110 60d7769f9d4c68ddba3706dc9bec1b9358b2b706
child 176112 89fb482df574359077976627be23867b75551e05
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs965526, 585922
milestone28.0a2
Bug 965526 - Disable the native theme on the textboxes in the test case for bug 585922. a=test-only
layout/base/tests/bug585922-ref.html
layout/base/tests/bug585922.html
--- a/layout/base/tests/bug585922-ref.html
+++ b/layout/base/tests/bug585922-ref.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
   <head>
     <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
   </head>
   <body onload="doTest()">
-    <input type=text>
+    <input type=text style="-moz-appearance: none">
     <script>
       function doTest() {
         var d = document.querySelector("input");
         d.value = "b";
         d.focus();
         var editor = SpecialPowers.wrap(d).QueryInterface(SpecialPowers.Ci.nsIDOMNSEditableElement).editor;
         var sel = editor.selection;
         var t = editor.rootElement.firstChild;
--- a/layout/base/tests/bug585922.html
+++ b/layout/base/tests/bug585922.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
   <head>
     <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
   </head>
   <body onload="doTest()">
-    <input type=text>
+    <input type=text style="-moz-appearance: none">
     <script>
       function doTest() {
         function enableCaret(aEnable) {
           var selCon = editor.selectionController;
           selCon.setCaretEnabled(aEnable);
         }
 
         var d = document.querySelector("input");