Bug 1450017 - Part III, Replace direction: rtl with localedir="rtl" in resizer reftests
This change would bring the tests closer to the real world scenario
MozReview-Commit-ID: 9fslEo8w8Zi
--- 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>