Bug 1450017 - Part II, Reftest for non-native-theme resizer r=enndeakin+6102
authorTimothy Guan-tin Chien <timdream@gmail.com>
Wed, 04 Apr 2018 15:56:07 +0800
changeset 415868 2d1c525b54047b1408cae2453375a1a2e315def7
parent 415867 dd262c337f19cc60d458d24760637c9fe2d34a2e
child 415869 4ffb62df7a592d892b528ab91d98e85b2a3d8a90
push id33911
push usercsabou@mozilla.com
push dateFri, 27 Apr 2018 10:01:39 +0000
treeherdermozilla-central@822936017145 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenndeakin
bugs1450017
milestone61.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 1450017 - Part II, Reftest for non-native-theme resizer r=enndeakin+6102 This set of tests, copied from native-theme resizer reftests, ensure the style of non-native-theme resizer. MozReview-Commit-ID: 52miLT8h7Xe
layout/reftests/xul/blank-window.xul
layout/reftests/xul/reftest.list
layout/reftests/xul/resizer-bottomend-flipped.xul
layout/reftests/xul/resizer-bottomend-rtl.xul
layout/reftests/xul/resizer-bottomend.xul
layout/reftests/xul/resizer-bottomleft.xul
layout/reftests/xul/resizer-bottomright.xul
layout/reftests/xul/resizer-bottomstart-rtl.xul
layout/reftests/xul/resizer-bottomstart.xul
layout/reftests/xul/resizer-left.xul
copy from layout/reftests/native-theme/blank-window.xul
copy to layout/reftests/xul/blank-window.xul
--- a/layout/reftests/xul/reftest.list
+++ b/layout/reftests/xul/reftest.list
@@ -73,8 +73,22 @@ fails == object-fit-fill-svg-006.xul obj
 # bug 1218954.
 skip == treecell-image-svg-1a.xul treecell-image-svg-1-ref.xul # bug 1218954
 skip == treecell-image-svg-1b.xul treecell-image-svg-1-ref.xul # bug 1218954
 
 == treechildren-padding-percent-1.xul treechildren-padding-percent-1-ref.xul
 
 != treetwisty-svg-context-paint-1-not-ref.xul treetwisty-svg-context-paint-1-ref.xul
 test-pref(svg.context-properties.content.enabled,true) == treetwisty-svg-context-paint-1.xul treetwisty-svg-context-paint-1-ref.xul
+
+# resizer (non-native-themed)
+!= resizer-bottomend.xul blank-window.xul
+== resizer-bottomend.xul resizer-bottomright.xul
+!= resizer-bottomend.xul resizer-bottomend-rtl.xul
+!= resizer-bottomend-rtl.xul blank-window.xul
+== resizer-bottomend-rtl.xul resizer-bottomend-flipped.xul
+
+!= resizer-bottomstart.xul blank-window.xul
+== resizer-bottomstart.xul resizer-bottomleft.xul
+== resizer-bottomstart.xul resizer-left.xul
+!= resizer-bottomstart.xul resizer-bottomstart-rtl.xul
+!= resizer-bottomstart-rtl.xul blank-window.xul
+== resizer-bottomstart-rtl.xul resizer-bottomend.xul
copy from layout/reftests/native-theme/resizer-bottomend-flipped.xul
copy to layout/reftests/xul/resizer-bottomend-flipped.xul
--- a/layout/reftests/native-theme/resizer-bottomend-flipped.xul
+++ b/layout/reftests/xul/resizer-bottomend-flipped.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomend" style="-moz-transform: scaleX(-1)"/>
+    <resizer dir="bottomend" style="-moz-transform: scaleX(-1); -moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-bottomend-rtl.xul
copy to layout/reftests/xul/resizer-bottomend-rtl.xul
--- a/layout/reftests/native-theme/resizer-bottomend-rtl.xul
+++ b/layout/reftests/xul/resizer-bottomend-rtl.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomend" style="direction: rtl"/>
+    <resizer dir="bottomend" style="direction: rtl; -moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-bottomend.xul
copy to layout/reftests/xul/resizer-bottomend.xul
--- a/layout/reftests/native-theme/resizer-bottomend.xul
+++ b/layout/reftests/xul/resizer-bottomend.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomend"/>
+    <resizer dir="bottomend" style="-moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-bottomleft.xul
copy to layout/reftests/xul/resizer-bottomleft.xul
--- a/layout/reftests/native-theme/resizer-bottomleft.xul
+++ b/layout/reftests/xul/resizer-bottomleft.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomleft"/>
+    <resizer dir="bottomleft" style="-moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-bottomright.xul
copy to layout/reftests/xul/resizer-bottomright.xul
--- a/layout/reftests/native-theme/resizer-bottomright.xul
+++ b/layout/reftests/xul/resizer-bottomright.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomright"/>
+    <resizer dir="bottomright" style="-moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-bottomstart-rtl.xul
copy to layout/reftests/xul/resizer-bottomstart-rtl.xul
--- a/layout/reftests/native-theme/resizer-bottomstart-rtl.xul
+++ b/layout/reftests/xul/resizer-bottomstart-rtl.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomstart" style="direction: rtl"/>
+    <resizer dir="bottomstart" style="direction: rtl; -moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-bottomstart.xul
copy to layout/reftests/xul/resizer-bottomstart.xul
--- a/layout/reftests/native-theme/resizer-bottomstart.xul
+++ b/layout/reftests/xul/resizer-bottomstart.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="bottomstart"/>
+    <resizer dir="bottomstart" style="-moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>
copy from layout/reftests/native-theme/resizer-left.xul
copy to layout/reftests/xul/resizer-left.xul
--- a/layout/reftests/native-theme/resizer-left.xul
+++ b/layout/reftests/xul/resizer-left.xul
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Resizer"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <hbox>
-    <resizer dir="left"/>
+    <resizer dir="left" style="-moz-appearance: none"/>
     <spacer flex="1"/>
   </hbox>
 </window>