Bug 784279 - Replace body[dir=rtl] with :dir(rtl) in toolkit/. r=dao
authorEkanan Ketunuti <ananuti@gmail.com>
Tue, 21 Aug 2012 18:04:36 +0700
changeset 102934 eb4392d9bc48dec32c8350ff7a1dbf8a3d9229a8
parent 102933 a1d9dc5637315f791e02e470b847cee46e6f9ee4
child 102935 3e0e57eb237aac0a5f9c59927c46d7d439e59e7b
push id23317
push userryanvm@gmail.com
push dateWed, 22 Aug 2012 02:05:02 +0000
treeherdermozilla-central@abc17059522b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs784279
milestone17.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 784279 - Replace body[dir=rtl] with :dir(rtl) in toolkit/. r=dao
toolkit/themes/gnomestripe/global/netError.css
toolkit/themes/pinstripe/global/dirListing/dirListing.css
toolkit/themes/pinstripe/global/netError.css
toolkit/themes/winstripe/global/aboutSupport.css
toolkit/themes/winstripe/global/dirListing/dirListing.css
toolkit/themes/winstripe/global/netError.css
--- a/toolkit/themes/gnomestripe/global/netError.css
+++ b/toolkit/themes/gnomestripe/global/netError.css
@@ -53,17 +53,17 @@ ul {
   background: url("moz-icon://stock/gtk-dialog-warning?size=dialog") left 0 no-repeat -moz-Field;
   background-origin: content-box;
 }
 
 #errorPageContainer.certerror {
   background-image: url("chrome://global/skin/icons/sslWarning.png");
 }
 
-body[dir="rtl"] #errorPageContainer {
+#errorPageContainer:dir(rtl) {
   background-position: right 0;
 }
 
 #errorTitle {
   -moz-margin-start: 80px;
 }
 
 #errorLongContent {
@@ -94,17 +94,17 @@ body[dir="rtl"] #errorPageContainer {
 #brand {
   position: absolute;
   right: 0;
   bottom: -1.5em;
   -moz-margin-end: 10px;
   opacity: .4;
 }
 
-body[dir="rtl"] #brand {
+#brand:dir(rtl) {
   right: auto;
   left: 0;
 }
 
 #brand > p {
   margin: 0;
 }
 
--- a/toolkit/themes/pinstripe/global/dirListing/dirListing.css
+++ b/toolkit/themes/pinstripe/global/dirListing/dirListing.css
@@ -40,26 +40,26 @@ p {
   font-size: 110%;
 }
 
 #UI_goUp {
   margin-top: 0;
   float: left;
 }
 
-body[dir="rtl"] #UI_goUp {
+#UI_goUp:dir(rtl) {
   float: right;
 }
 
 #UI_showHidden {
   margin-top: 0;
   float: right;
 }
 
-body[dir="rtl"] #UI_showHidden {
+#UI_showHidden:dir(rtl) {
   float: left;
 }
 
 table {
   clear: both;
   width: 90%;
   margin: 0 auto;
 }
--- a/toolkit/themes/pinstripe/global/netError.css
+++ b/toolkit/themes/pinstripe/global/netError.css
@@ -54,17 +54,17 @@ ul {
   background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field;
   background-origin: content-box;
 }
 
 #errorPageContainer.certerror {
   background-image: url("chrome://global/skin/icons/sslWarning.png");
 }
 
-body[dir="rtl"] #errorPageContainer {
+#errorPageContainer:dir(rtl) {
   background-position: right 0;
 }
 
 #errorTitle {
   -moz-margin-start: 80px;
 }
 
 #errorLongContent {
@@ -95,17 +95,17 @@ body[dir="rtl"] #errorPageContainer {
 #brand {
   position: absolute;
   right: 0;
   bottom: -1.5em;
   -moz-margin-end: 10px;
   opacity: .4;
 }
 
-body[dir="rtl"] #brand {
+#brand:dir(rtl) {
   right: auto;
   left: 0;
 }
 
 #brand > p {
   margin: 0;
 }
 
--- a/toolkit/themes/winstripe/global/aboutSupport.css
+++ b/toolkit/themes/winstripe/global/aboutSupport.css
@@ -86,17 +86,17 @@ td {
   margin-top: 2em;
   margin-bottom: 20px;
   -moz-margin-start: 20px;
   -moz-margin-end: 0;
   padding: 16px;
   width: 30%;
 }
 
-body[dir="rtl"] > #reset-box {
+#reset-box:dir(rtl) {
   float: left;
 }
 
 #reset-box > h3 {
   margin-top: 0;
 }
 
 #reset-box > button {
--- a/toolkit/themes/winstripe/global/dirListing/dirListing.css
+++ b/toolkit/themes/winstripe/global/dirListing/dirListing.css
@@ -40,26 +40,26 @@ p {
   font-size: 110%;
 }
 
 #UI_goUp {
   margin-top: 0;
   float: left;
 }
 
-body[dir="rtl"] #UI_goUp {
+#UI_goUp:dir(rtl) {
   float: right;
 }
 
 #UI_showHidden {
   margin-top: 0;
   float: right;
 }
 
-body[dir="rtl"] #UI_showHidden {
+#UI_showHidden:dir(rtl) {
   float: left;
 }
 
 table {
   clear: both;
   width: 90%;
   margin: 0 auto;
 }
--- a/toolkit/themes/winstripe/global/netError.css
+++ b/toolkit/themes/winstripe/global/netError.css
@@ -54,17 +54,17 @@ ul {
   background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field;
   background-origin: content-box;
 }
 
 #errorPageContainer.certerror {
   background-image: url("chrome://global/skin/icons/sslWarning.png");
 }
 
-body[dir="rtl"] #errorPageContainer {
+#errorPageContainer:dir(rtl) {
   background-position: right 0;
 }
 
 #errorTitle {
   -moz-margin-start: 80px;
 }
 
 #errorLongContent {
@@ -95,17 +95,17 @@ body[dir="rtl"] #errorPageContainer {
 #brand {
   position: absolute;
   right: 0;
   bottom: -1.5em;
   -moz-margin-end: 10px;
   opacity: .4;
 }
 
-body[dir="rtl"] #brand {
+#brand:dir(rtl) {
   right: auto;
   left: 0;
 }
 
 #brand > p {
   margin: 0;
 }