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 460885 4ffb62df7a592d892b528ab91d98e85b2a3d8a90
parent 460884 2d1c525b54047b1408cae2453375a1a2e315def7
child 460886 407774fc7c7a3455134bfa3cad5a8c3a6ebe21ac
push id165
push userfmarier@mozilla.com
push dateMon, 30 Apr 2018 23:50:51 +0000
reviewersenndeakin
bugs1450017
milestone61.0a1
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>