Bug 573933. Part 2: disable -moz-appearance for troublesome GTK2 themes. r=dbaron
authorRobert O'Callahan <robert@ocallahan.org>
Fri, 16 Jul 2010 09:07:43 +1200
changeset 47724 acb4d17b70cd517c11e0dc709f29431c37b10302
parent 47723 4d1dc2ea47fd2daa17ef072acb829c8c5bdd56cb
child 47725 152633f27b604278772135288df05c48ea817b3c
push id14413
push userrocallahan@mozilla.com
push dateThu, 15 Jul 2010 21:12:02 +0000
treeherderautoland@e1d7fd5255fd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs573933
milestone2.0b2pre
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 573933. Part 2: disable -moz-appearance for troublesome GTK2 themes. r=dbaron
content/test/reftest/bug453105-ref.html
content/test/reftest/bug453105.html
content/test/reftest/optiontext-ref.html
content/test/reftest/optiontext.html
layout/reftests/bugs/272646-2-ref.xul
layout/reftests/bugs/272646-2a.xul
layout/reftests/bugs/272646-2b.xul
layout/reftests/bugs/272646-2c.xul
layout/reftests/bugs/280708-1-ref.html
layout/reftests/bugs/280708-1a.html
layout/reftests/bugs/280708-1b.html
layout/reftests/bugs/309914-1-ref.xul
layout/reftests/bugs/309914-1.xul
layout/reftests/bugs/331809-1-ref.html
layout/reftests/bugs/331809-1.html
layout/reftests/bugs/376375-1-ref.html
layout/reftests/bugs/376375-1.html
layout/reftests/bugs/395107-4-ref.html
layout/reftests/bugs/395107-4.html
layout/reftests/bugs/513153-1-ref.html
layout/reftests/bugs/513153-1a.html
layout/reftests/bugs/513153-1b.html
layout/reftests/bugs/513153-2-ref.html
layout/reftests/bugs/513153-2a.html
layout/reftests/bugs/513153-2b.html
layout/reftests/bugs/reftest.list
layout/reftests/forms/textarea-setvalue-framereconstruction-1.html
layout/reftests/forms/textarea-setvalue-framereconstruction-ref.html
--- a/content/test/reftest/bug453105-ref.html
+++ b/content/test/reftest/bug453105-ref.html
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <body>
 <form name="f">
-<select name="s">
+<select name="s" style="-moz-appearance:none">
 </select>
 </form>
 </body>
--- a/content/test/reftest/bug453105.html
+++ b/content/test/reftest/bug453105.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <body onload="document.forms.f.s.options.length = 0;">
 <form name="f">
-<select name="s">
+<select name="s" style="-moz-appearance:none">
 <option name="o1">option 1</option>
 <option name="o2">option 2</option>
 </select>
 </form>
 </body>
--- a/content/test/reftest/optiontext-ref.html
+++ b/content/test/reftest/optiontext-ref.html
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <body>
 <form name="f">
-<select name="s">
+<select name="s" style="-moz-appearance:none">
 <option name="o1">ok</option>
 </select>
 </form>
 </body>
--- a/content/test/reftest/optiontext.html
+++ b/content/test/reftest/optiontext.html
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <body onload="document.forms.f.s.options[0].text = 'ok';">
 <form name="f">
-<select name="s">
+<select name="s" style="-moz-appearance:none">
 <option name="o1">-</option>
 </select>
 </form>
 </body>
--- a/layout/reftests/bugs/272646-2-ref.xul
+++ b/layout/reftests/bugs/272646-2-ref.xul
@@ -1,28 +1,28 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
-
-<window id="tab-test"
-	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-    <tabbox id="main_courseframe" flex="1">
-        <tabs id="main_coursetabs" ida-type="gradient">
-            <tab id="main_coursetab_general" label="General" />
-            <tab id="main_coursetab_overview" label="Overview" />
-            <tab id="main_coursetab_extensions" label="Extensions" />
-        </tabs>
-
-        <tabpanels id="main_coursetabpanels" flex="1">
-            <tabpanel id="main_coursetabpanel_general">
-                <label value="this is the general tabpanel" />
-            </tabpanel>
-
-            <tabpanel id="main_coursetabpanel_overview">
-                <label value="this is the OVERVIEW tabpanel" />
-            </tabpanel>
-            
-            <tabpanel id="main_coursetabpanel_extensions">
-                <label value="this is the EXTENSIONS tabpanel" />
-            </tabpanel>
-        </tabpanels>
-    </tabbox>
-</window>
+<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+
+<window id="tab-test"
+	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+    <tabbox id="main_courseframe" flex="1">
+        <tabs id="main_coursetabs" ida-type="gradient" style="-moz-appearance:none">
+            <tab id="main_coursetab_general" label="General" style="-moz-appearance:none" />
+            <tab id="main_coursetab_overview" label="Overview" style="-moz-appearance:none" />
+            <tab id="main_coursetab_extensions" label="Extensions" style="-moz-appearance:none" />
+        </tabs>
+
+        <tabpanels id="main_coursetabpanels" flex="1">
+            <tabpanel id="main_coursetabpanel_general">
+                <label value="this is the general tabpanel" />
+            </tabpanel>
+
+            <tabpanel id="main_coursetabpanel_overview">
+                <label value="this is the OVERVIEW tabpanel" />
+            </tabpanel>
+            
+            <tabpanel id="main_coursetabpanel_extensions">
+                <label value="this is the EXTENSIONS tabpanel" />
+            </tabpanel>
+        </tabpanels>
+    </tabbox>
+</window>
--- a/layout/reftests/bugs/272646-2a.xul
+++ b/layout/reftests/bugs/272646-2a.xul
@@ -1,31 +1,31 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
-
-<window id="tab-test"
-	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-	onload="var e =
-	document.getElementById('main_coursetab_extensions'); e.hidden = true;
-	document.documentElement.getBoundingClientRect(); e.hidden = false;">
-    <tabbox id="main_courseframe" flex="1">
-        <tabs id="main_coursetabs" ida-type="gradient">
-            <tab id="main_coursetab_general" label="General" />
-            <tab id="main_coursetab_overview" label="Overview" />
-            <tab id="main_coursetab_extensions" label="Extensions" />
-        </tabs>
-
-        <tabpanels id="main_coursetabpanels" flex="1">
-            <tabpanel id="main_coursetabpanel_general">
-                <label value="this is the general tabpanel" />
-            </tabpanel>
-
-            <tabpanel id="main_coursetabpanel_overview">
-                <label value="this is the OVERVIEW tabpanel" />
-            </tabpanel>
-            
-            <tabpanel id="main_coursetabpanel_extensions">
-                <label value="this is the EXTENSIONS tabpanel" />
-            </tabpanel>
-        </tabpanels>
-    </tabbox>
-</window>
+<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+
+<window id="tab-test"
+	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+	onload="var e =
+	document.getElementById('main_coursetab_extensions'); e.hidden = true;
+	document.documentElement.getBoundingClientRect(); e.hidden = false;">
+    <tabbox id="main_courseframe" flex="1">
+        <tabs id="main_coursetabs" ida-type="gradient" style="-moz-appearance:none">
+            <tab id="main_coursetab_general" label="General" style="-moz-appearance:none" />
+            <tab id="main_coursetab_overview" label="Overview" style="-moz-appearance:none" />
+            <tab id="main_coursetab_extensions" label="Extensions" style="-moz-appearance:none" />
+        </tabs>
+
+        <tabpanels id="main_coursetabpanels" flex="1">
+            <tabpanel id="main_coursetabpanel_general">
+                <label value="this is the general tabpanel" />
+            </tabpanel>
+
+            <tabpanel id="main_coursetabpanel_overview">
+                <label value="this is the OVERVIEW tabpanel" />
+            </tabpanel>
+            
+            <tabpanel id="main_coursetabpanel_extensions">
+                <label value="this is the EXTENSIONS tabpanel" />
+            </tabpanel>
+        </tabpanels>
+    </tabbox>
+</window>
--- a/layout/reftests/bugs/272646-2b.xul
+++ b/layout/reftests/bugs/272646-2b.xul
@@ -1,31 +1,31 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
-
-<window id="tab-test"
-	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-	onload="var e =
-	document.getElementById('main_coursetab_overview'); e.hidden = true;
-	document.documentElement.getBoundingClientRect(); e.hidden = false;">
-    <tabbox id="main_courseframe" flex="1">
-        <tabs id="main_coursetabs" ida-type="gradient">
-            <tab id="main_coursetab_general" label="General" />
-            <tab id="main_coursetab_overview" label="Overview" />
-            <tab id="main_coursetab_extensions" label="Extensions" />
-        </tabs>
-
-        <tabpanels id="main_coursetabpanels" flex="1">
-            <tabpanel id="main_coursetabpanel_general">
-                <label value="this is the general tabpanel" />
-            </tabpanel>
-
-            <tabpanel id="main_coursetabpanel_overview">
-                <label value="this is the OVERVIEW tabpanel" />
-            </tabpanel>
-            
-            <tabpanel id="main_coursetabpanel_extensions">
-                <label value="this is the EXTENSIONS tabpanel" />
-            </tabpanel>
-        </tabpanels>
-    </tabbox>
-</window>
+<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+
+<window id="tab-test"
+	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+	onload="var e =
+	document.getElementById('main_coursetab_overview'); e.hidden = true;
+	document.documentElement.getBoundingClientRect(); e.hidden = false;">
+    <tabbox id="main_courseframe" flex="1">
+        <tabs id="main_coursetabs" ida-type="gradient" style="-moz-appearance:none">
+            <tab id="main_coursetab_general" label="General" style="-moz-appearance:none" />
+            <tab id="main_coursetab_overview" label="Overview" style="-moz-appearance:none" />
+            <tab id="main_coursetab_extensions" label="Extensions" style="-moz-appearance:none" />
+        </tabs>
+
+        <tabpanels id="main_coursetabpanels" flex="1">
+            <tabpanel id="main_coursetabpanel_general">
+                <label value="this is the general tabpanel" />
+            </tabpanel>
+
+            <tabpanel id="main_coursetabpanel_overview">
+                <label value="this is the OVERVIEW tabpanel" />
+            </tabpanel>
+            
+            <tabpanel id="main_coursetabpanel_extensions">
+                <label value="this is the EXTENSIONS tabpanel" />
+            </tabpanel>
+        </tabpanels>
+    </tabbox>
+</window>
--- a/layout/reftests/bugs/272646-2c.xul
+++ b/layout/reftests/bugs/272646-2c.xul
@@ -1,31 +1,31 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
-
-<window id="tab-test"
-	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-	onload="var e =
-	document.getElementById('main_coursetab_general'); e.hidden = true;
-	document.documentElement.getBoundingClientRect(); e.hidden = false;">
-    <tabbox id="main_courseframe" flex="1">
-        <tabs id="main_coursetabs" ida-type="gradient">
-            <tab id="main_coursetab_general" label="General" />
-            <tab id="main_coursetab_overview" label="Overview" />
-            <tab id="main_coursetab_extensions" label="Extensions" />
-        </tabs>
-
-        <tabpanels id="main_coursetabpanels" flex="1">
-            <tabpanel id="main_coursetabpanel_general">
-                <label value="this is the general tabpanel" />
-            </tabpanel>
-
-            <tabpanel id="main_coursetabpanel_overview">
-                <label value="this is the OVERVIEW tabpanel" />
-            </tabpanel>
-            
-            <tabpanel id="main_coursetabpanel_extensions">
-                <label value="this is the EXTENSIONS tabpanel" />
-            </tabpanel>
-        </tabpanels>
-    </tabbox>
-</window>
+<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+
+<window id="tab-test"
+	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+	onload="var e =
+	document.getElementById('main_coursetab_general'); e.hidden = true;
+	document.documentElement.getBoundingClientRect(); e.hidden = false;">
+    <tabbox id="main_courseframe" flex="1">
+        <tabs id="main_coursetabs" ida-type="gradient" style="-moz-appearance:none">
+            <tab id="main_coursetab_general" label="General" style="-moz-appearance:none" />
+            <tab id="main_coursetab_overview" label="Overview" style="-moz-appearance:none" />
+            <tab id="main_coursetab_extensions" label="Extensions" style="-moz-appearance:none" />
+        </tabs>
+
+        <tabpanels id="main_coursetabpanels" flex="1">
+            <tabpanel id="main_coursetabpanel_general">
+                <label value="this is the general tabpanel" />
+            </tabpanel>
+
+            <tabpanel id="main_coursetabpanel_overview">
+                <label value="this is the OVERVIEW tabpanel" />
+            </tabpanel>
+            
+            <tabpanel id="main_coursetabpanel_extensions">
+                <label value="this is the EXTENSIONS tabpanel" />
+            </tabpanel>
+        </tabpanels>
+    </tabbox>
+</window>
--- a/layout/reftests/bugs/280708-1-ref.html
+++ b/layout/reftests/bugs/280708-1-ref.html
@@ -1,9 +1,9 @@
 <html><head>
 <style>
 .rowg {display:table-row-group;}
 </style>
 </head><body>
 <table><tbody><tr>
-<td class="rowg"><input class="rowg"></td>
+<td class="rowg"><input class="rowg" style="-moz-appearance:none;"></td>
 </tr></tbody></table>
 </body></html>
--- a/layout/reftests/bugs/280708-1a.html
+++ b/layout/reftests/bugs/280708-1a.html
@@ -1,9 +1,9 @@
 <html class="reftest-wait"><head>
 <style>
 .rowg {display:table-row-group;}
 </style>
 </head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
 <table><tbody><tr>
-<td id="x"><input id="y"></td>
+<td id="x"><input id="y" style="-moz-appearance:none;"></td>
 </tr></tbody></table>
 </body></html>
--- a/layout/reftests/bugs/280708-1b.html
+++ b/layout/reftests/bugs/280708-1b.html
@@ -1,9 +1,9 @@
 <html class="reftest-wait"><head>
 <style>
 .rowg {display:table-row-group;}
 </style>
 </head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
 <table><tbody><tr>
-<td id="y"><input id="x"></td>
+<td id="y"><input id="x" style="-moz-appearance:none;"></td>
 </tr></tbody></table>
 </body></html>
--- a/layout/reftests/bugs/309914-1-ref.xul
+++ b/layout/reftests/bugs/309914-1-ref.xul
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
 
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 <hbox>
   <label value="anon label"/>
-  <button label="1"/>
-  <button label="0"/>
+  <button label="1" style="-moz-appearance:none;"/>
+  <button label="0" style="-moz-appearance:none;"/>
 </hbox>
 
 </window>
--- a/layout/reftests/bugs/309914-1.xul
+++ b/layout/reftests/bugs/309914-1.xul
@@ -21,16 +21,17 @@
 var cont;
 
 window.onload = function() {
   const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
   cont = document.getElementById("container");
 
   for(var i=0; i<2; i++) {
     var item = document.createElementNS(XUL_NS, "button");
+    item.setAttribute('style','-moz-appearance:none');
     cont.appendChild(item);
     item.label = i;
   }
 
   document.documentElement.getBoundingClientRect();
 
   var item = cont.firstChild;
   //alert(item.label);
--- a/layout/reftests/bugs/331809-1-ref.html
+++ b/layout/reftests/bugs/331809-1-ref.html
@@ -9,13 +9,13 @@ iframe {
 span {
   display:inline-block;
   width:1000px;
   height:400px;
   background:white;
 }
 </style>
 </head>
-<body style="width:2000px; background:white;">
+<body style="width:2000px; background:white;"><div style="position:absolute; top:360px;width:100px;height:40px; background:black;"></div>
 <iframe src="data:application/vnd.mozilla.xul+xml,%3Cwizard%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fkeymaster%2Fgatekeeper%2Fthere.is.only.xul%22%3E%3C%2Fwizard%3E%0D%0A%0D%0A"></iframe>
 <span></span>
 </body>
 </html>
--- a/layout/reftests/bugs/331809-1.html
+++ b/layout/reftests/bugs/331809-1.html
@@ -3,12 +3,12 @@
 <style>
 iframe {
   width:100px;
   height:400px;
   border:0;
 }
 </style>
 </head>
-<body style="width:2000px; background:white;">
+<body style="width:2000px; background:white;"><div style="position:absolute; top:360px;width:100px;height:40px; background:black;"></div>
 <iframe src="data:application/vnd.mozilla.xul+xml,%3Cwizard%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fkeymaster%2Fgatekeeper%2Fthere.is.only.xul%22%3E%3C%2Fwizard%3E%0D%0A%0D%0A"></iframe>
 </body>
 </html>
--- a/layout/reftests/bugs/376375-1-ref.html
+++ b/layout/reftests/bugs/376375-1-ref.html
@@ -1,7 +1,7 @@
 <html>
-<body>
+<body><div style="position:absolute; z-index:1; left:370px;top:370px;width:40px;height:40px; background:black;"></div>
 <div style="width:500px; height:500px;
             overflow:scroll; outline:1px dotted black;
             position:absolute; left:-100px; top:-100px;"></div>
 </body>
 </html>
--- a/layout/reftests/bugs/376375-1.html
+++ b/layout/reftests/bugs/376375-1.html
@@ -1,7 +1,7 @@
 <html>
-<body>
+<body><div style="position:absolute; z-index:1; left:370px;top:370px;width:40px;height:40px; background:black;"></div>
 <div style="width:500px; height:500px; opacity:0.99999;
             overflow:scroll; outline:1px dotted black;
             position:absolute; left:-100px; top:-100px;"></div>
 </body>
 </html>
--- a/layout/reftests/bugs/395107-4-ref.html
+++ b/layout/reftests/bugs/395107-4-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
   <body>
-    <select>
+    <select style="-moz-appearance:none">
       <option selected disabled>Option one</option>
       <option>Option two</option>
     </select>
   </body>
 </html>
--- a/layout/reftests/bugs/395107-4.html
+++ b/layout/reftests/bugs/395107-4.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
   <body onload='var elem1 = document.getElementById("one");
                 elem1.setAttribute("selected", "selected");'>
-    <select>
+    <select style="-moz-appearance:none">
       <option id="one" disabled>Option one</option>
       <option id="two" selected>Option two</option>
     </select>
   </body>
 </html>
--- a/layout/reftests/bugs/513153-1-ref.html
+++ b/layout/reftests/bugs/513153-1-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <body>
   <form>
-    <input type="submit" name="foo" value="foo" style="font-size: 3em; color: green;">
-    <input type="image" name="bar" value="bar" style="color: purple;">
+    <input type="submit" name="foo" value="foo" style="font-size: 3em; color: green; -moz-appearance:none; ">
+    <input type="image" name="bar" value="bar" style="color: purple; -moz-appearance:none; ">
   </form>
 </body>
 </html>
--- a/layout/reftests/bugs/513153-1a.html
+++ b/layout/reftests/bugs/513153-1a.html
@@ -1,14 +1,14 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
 <head>
   <style>
     input { color: purple; }
-    :default { font-size: 3em; color: green; }
+    :default { font-size: 3em; color: green; -moz-appearance:none; }
   </style>
   <script type="text/javascript">
     function boom()
     {
       var toRemove = document.getElementById("toremove");
       toRemove.parentNode.removeChild(toRemove);
       document.documentElement.className = "";
     }
--- a/layout/reftests/bugs/513153-1b.html
+++ b/layout/reftests/bugs/513153-1b.html
@@ -1,14 +1,14 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
 <head>
   <style>
     input { color: purple; }
-    :default { font-size: 3em; color: green; }
+    :default { font-size: 3em; color: green; -moz-appearance:none; }
   </style>
   <script type="text/javascript">
     function boom()
     {
       var toRemove = document.getElementById("toremove");
       toRemove.parentNode.removeChild(toRemove);
       document.documentElement.className = "";
     }
--- a/layout/reftests/bugs/513153-2-ref.html
+++ b/layout/reftests/bugs/513153-2-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <body>
   <form>
-    <input type="image" name="bar" value="bar" style="font-size: 3em; color: green;">
-    <input type="submit" name="foo" value="foo" style="color: purple">
+    <input type="image" name="bar" value="bar" style="font-size: 3em; color: green; -moz-appearance:none; ">
+    <input type="submit" name="foo" value="foo" style="color: purple; -moz-appearance:none; ">
   </form>
 </body>
 </html>
--- a/layout/reftests/bugs/513153-2a.html
+++ b/layout/reftests/bugs/513153-2a.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
 <head>
   <style>
-    input { color: purple; }
+    input { color: purple; -moz-appearance:none; }
     :default { font-size: 3em; color: green; }
   </style>
   <script type="text/javascript">
     function boom()
     {
       var toRemove = document.getElementById("toremove");
       toRemove.parentNode.removeChild(toRemove);
       document.documentElement.className = "";
--- a/layout/reftests/bugs/513153-2b.html
+++ b/layout/reftests/bugs/513153-2b.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
 <head>
   <style>
-    input { color: purple; }
+    input { color: purple; -moz-appearance:none; }
     :default { font-size: 3em; color: green; }
   </style>
   <script type="text/javascript">
     function boom()
     {
       var toRemove = document.getElementById("toremove");
       toRemove.parentNode.removeChild(toRemove);
       document.documentElement.className = "";
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1117,17 +1117,17 @@ random == 445004-1.html 445004-1-ref.htm
 == 445142-1c.html 445142-1-ref.html
 == 445142-2a.html 445142-2-ref.html
 == 445142-2b.html 445142-2-ref.html
 == 446100-1a.html about:blank
 == 446100-1b.html about:blank
 == 446100-1c.html about:blank
 == 446100-1d.html about:blank
 == 446100-1e.html about:blank
-== 446100-1f.html about:blank
+random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 446100-1f.html about:blank  # Fails due to AA on GTK2
 == 446100-1g.html about:blank
 == 446100-1h.html about:blank
 # == 448193.html 448193-ref.html  # Fails due to 2 small single-pixel differences
 # == 448987.html 448987-ref.html  # Disabled for now - it needs privileges
 != 449149-1a.html about:blank
 != 449149-1b.html about:blank
 == 449149-2.html 449149-2-ref.html
 == 449171-1.html 449171-ref.html
--- a/layout/reftests/forms/textarea-setvalue-framereconstruction-1.html
+++ b/layout/reftests/forms/textarea-setvalue-framereconstruction-1.html
@@ -34,15 +34,15 @@ function boom()
 </head>
 
 <body onload="setTimeout(boom, 30);">
 
 <div id="div">
   <textarea rows="3" cols="5" id="textarea">x</textarea>
 </div>
 
-<select>
+<select style="-moz-appearance:none">
   <option id="opt1">opt1</option>
 </select>
 
 </body>
 </html>
 
--- a/layout/reftests/forms/textarea-setvalue-framereconstruction-ref.html
+++ b/layout/reftests/forms/textarea-setvalue-framereconstruction-ref.html
@@ -3,15 +3,15 @@
 </head>
 
 <body>
 
 <div id="div">
   <textarea rows="3" cols="5" id="textarea">x y</textarea>
 </div>
 
-<select>
+<select style="-moz-appearance:none">
   <option id="opt1"></option>
 </select>
 
 </body>
 </html>