Bug 1323504 - Add RTL support for the Toolbox Options draft
authorTomer Cohen <tomer@tomercohen.com>
Tue, 20 Dec 2016 12:42:43 +0200
changeset 451453 087a31ae3b196a989e020a302cfc0717fa2f2fa6
parent 451452 1d20ce3b60621f089d84740a787c714c1ef6dd4f
child 451461 078ca429640770c751f960585e3297f5be14eeee
child 451520 fa98da27ddefc154ff7b6ce781b5294ac2c26321
push id39183
push userbmo:tomer.moz.bugs@tomercohen.com
push dateTue, 20 Dec 2016 11:04:49 +0000
bugs1323504
milestone53.0a1
Bug 1323504 - Add RTL support for the Toolbox Options MozReview-Commit-ID: DkAfbQyIdkR
devtools/client/framework/options-panel.css
devtools/client/framework/toolbox-options.xhtml
--- a/devtools/client/framework/options-panel.css
+++ b/devtools/client/framework/options-panel.css
@@ -10,17 +10,17 @@
 }
 
 #options-panel {
   display: block;
 }
 
 .options-vertical-pane {
   display: inline;
-  float: left;
+  float: inline-start;
 }
 
 .options-vertical-pane {
   margin: 5px;
   width: calc(100%/3 - 10px);
   min-width: 320px;
   padding-inline-start: 5px;
   box-sizing: border-box;
--- a/devtools/client/framework/toolbox-options.xhtml
+++ b/devtools/client/framework/toolbox-options.xhtml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <!DOCTYPE html [
 <!ENTITY % toolboxDTD SYSTEM "chrome://devtools/locale/toolbox.dtd" >
  %toolboxDTD;
 ]>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" dir="">
   <head>
     <title>Toolbox option</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     <link rel="stylesheet" href="chrome://devtools/content/framework/options-panel.css" type="text/css"/>
     <script type="application/javascript;version=1.8" src="chrome://devtools/content/shared/theme-switching.js"/>
   </head>
   <body role="application" class="theme-body">
   <form id="options-panel">