Bug 1296648 - Fix direction of .ruleview-expander.theme-twisty in RTL locales. r=ntim
authorTowkir Ahmed <towkir17@gmail.com>
Sat, 03 Sep 2016 22:53:00 -0400
changeset 313005 16a1a91f9269ab95dd83eb29dc5d0227665f7d94
parent 313004 73a6a267a50a0e1c41e689b265ad3eebe43d7ac6
child 313006 99c542fa43a72ee863c813b5624048d1b443549b
push id81509
push usercbook@mozilla.com
push dateWed, 07 Sep 2016 15:23:10 +0000
treeherdermozilla-inbound@80dccdd8c94a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1296648
milestone51.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 1296648 - Fix direction of .ruleview-expander.theme-twisty in RTL locales. r=ntim
devtools/client/themes/rules.css
--- a/devtools/client/themes/rules.css
+++ b/devtools/client/themes/rules.css
@@ -320,16 +320,21 @@
   visibility: hidden;
 }
 
 .ruleview-expander {
   vertical-align: middle;
   display: inline-block;
 }
 
+.ruleview-expander.theme-twisty:-moz-locale-dir(rtl) {
+  /* for preventing .theme-twisty's wrong direction in rtl; Bug 1296648 */
+  transform: none;
+}
+
 .ruleview-newproperty {
   /* (enable checkbox width: 12px) + (expander width: 15px) */
   margin-inline-start: 27px;
 }
 
 .ruleview-namecontainer,
 .ruleview-propertyvaluecontainer,
 .ruleview-propertyname,