Bug 1357655 part 2 - [css-ui] Add an explicit 'appearance:auto' to a couple of reftest that needs it.
authorMats Palmgren <mats@mozilla.com>
Fri, 21 Apr 2017 02:24:19 +0200
changeset 566351 c132d492e5bad1da0782279cb9f98117103cc4aa
parent 566350 0f2c055d69b220875b8e8249bd20705ac0143d1f
child 566352 4bc74de54b5b8e54f045af8e3be9fbce78df1f60
push id55180
push userjjong@mozilla.com
push dateFri, 21 Apr 2017 09:36:13 +0000
bugs1357655
milestone55.0a1
Bug 1357655 part 2 - [css-ui] Add an explicit 'appearance:auto' to a couple of reftest that needs it. MozReview-Commit-ID: 82ANStMIm5z
layout/reftests/native-theme/progress-overflow-small.html
layout/reftests/native-theme/reftest.list
widget/reftests/507947.html
widget/reftests/664925.xhtml
widget/reftests/reftest.list
--- a/layout/reftests/native-theme/progress-overflow-small.html
+++ b/layout/reftests/native-theme/progress-overflow-small.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
   <body>
-    <div style="-moz-appearance: progressbar; width:180px; height:6px;">
-      <div style="-moz-appearance: progresschunk; width:50%; height:100%;">
+    <div style="-moz-appearance: progressbar; appearance: auto; width:180px; height:6px;">
+      <div style="-moz-appearance: progresschunk; appearance: auto; width:50%; height:100%;">
       </div>
     </div>
   </body>
 </html>
--- a/layout/reftests/native-theme/reftest.list
+++ b/layout/reftests/native-theme/reftest.list
@@ -73,12 +73,12 @@ skip-if(!winWidget) == scroll-thumb-mini
 
 == checkbox-dynamic-1.html checkbox-dynamic-1-ref.html
 
 # These tests have been written to test the overflow of the window widget
 # (bug 568825) but we can't test it on Windows and Cocoa because they have
 # animated progress bars.
 # Nothing shows up on Android, presumably because that appearance type is
 # not implemented.
-pref(layout.css.moz-appearance.enabled,true) skip-if(cocoaWidget) skip-if(winWidget) == progress-overflow.html progress-overflow-ref.html
-pref(layout.css.moz-appearance.enabled,true) fails-if(Android) skip-if(cocoaWidget) skip-if(winWidget) != progress-overflow-small.html progress-nobar.html
+pref(layout.css.moz-appearance.enabled,true) pref(layout.css.appearance.enabled,true) skip-if(cocoaWidget) skip-if(winWidget) == progress-overflow.html progress-overflow-ref.html
+pref(layout.css.moz-appearance.enabled,true) pref(layout.css.appearance.enabled,true) fails-if(Android) skip-if(cocoaWidget) skip-if(winWidget) != progress-overflow-small.html progress-nobar.html
 
 == 676387-1.xul 676387-1-ref.xul
--- a/widget/reftests/507947.html
+++ b/widget/reftests/507947.html
@@ -1,2 +1,2 @@
 <!DOCTYPE html>
-<div style="height: 100px; -moz-appearance: toolbar;"></div>
+<div style="height: 100px; -moz-appearance: toolbar; appearance: auto"></div>
--- a/widget/reftests/664925.xhtml
+++ b/widget/reftests/664925.xhtml
@@ -1,1 +1,1 @@
-<html xmlns="http://www.w3.org/1999/xhtml"><div><td style="-moz-appearance: progressbar;"></td></div></html>
+<html xmlns="http://www.w3.org/1999/xhtml"><div><td style="-moz-appearance: progressbar; appearance: auto"></td></div></html>
--- a/widget/reftests/reftest.list
+++ b/widget/reftests/reftest.list
@@ -1,6 +1,6 @@
-pref(layout.css.moz-appearance.enabled,true) skip-if(!cocoaWidget) != 507947.html about:blank
+pref(layout.css.moz-appearance.enabled,true) pref(layout.css.appearance.enabled,true) skip-if(!cocoaWidget) != 507947.html about:blank
 pref(layout.css.moz-appearance.enabled,true) == progressbar-fallback-default-style.html progressbar-fallback-default-style-ref.html
 fuzzy-if(Android,17,1120) == meter-native-style.html meter-native-style-ref.html
 skip-if(!cocoaWidget) == meter-vertical-native-style.html meter-vertical-native-style-ref.html # dithering
 pref(layout.css.moz-appearance.enabled,true) == meter-fallback-default-style.html meter-fallback-default-style-ref.html
-pref(layout.css.moz-appearance.enabled,true) load 664925.xhtml
+pref(layout.css.moz-appearance.enabled,true) pref(layout.css.appearance.enabled,true) load 664925.xhtml