Bug 1450017 - Part III, Replace direction: rtl with localedir="rtl" in resizer reftests r=enndeakin+6102
authorTimothy Guan-tin Chien <timdream@gmail.com>
Tue, 10 Apr 2018 08:02:41 +0800
changeset 471956 4ffb62df7a592d892b528ab91d98e85b2a3d8a90
parent 471955 2d1c525b54047b1408cae2453375a1a2e315def7
child 471957 407774fc7c7a3455134bfa3cad5a8c3a6ebe21ac
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [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 III, Replace direction: rtl with localedir="rtl" in resizer reftests r=enndeakin+6102 This change would bring the tests closer to the real world scenario MozReview-Commit-ID: 9fslEo8w8Zi
layout/reftests/native-theme/resizer-bottomend-rtl.xul
layout/reftests/native-theme/resizer-bottomstart-rtl.xul
layout/reftests/xul/resizer-bottomend-rtl.xul
layout/reftests/xul/resizer-bottomstart-rtl.xul
--- a/layout/reftests/native-theme/resizer-bottomend-rtl.xul
+++ b/layout/reftests/native-theme/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">
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" localedir="rtl">
   <hbox>
-    <resizer dir="bottomend" style="direction: rtl"/>
     <spacer flex="1"/>
+    <resizer dir="bottomend"/>
   </hbox>
 </window>
--- a/layout/reftests/native-theme/resizer-bottomstart-rtl.xul
+++ b/layout/reftests/native-theme/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">
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" localedir="rtl">
   <hbox>
-    <resizer dir="bottomstart" style="direction: rtl"/>
     <spacer flex="1"/>
+    <resizer dir="bottomstart"/>
   </hbox>
 </window>
--- a/layout/reftests/xul/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">
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" localedir="rtl">
   <hbox>
-    <resizer dir="bottomend" style="direction: rtl; -moz-appearance: none"/>
     <spacer flex="1"/>
+    <resizer dir="bottomend" style="-moz-appearance: none"/>
   </hbox>
 </window>
--- a/layout/reftests/xul/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">
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" localedir="rtl">
   <hbox>
-    <resizer dir="bottomstart" style="direction: rtl; -moz-appearance: none"/>
     <spacer flex="1"/>
+    <resizer dir="bottomstart" style="-moz-appearance: none"/>
   </hbox>
 </window>