Bug 1323041 Adjust the Animations panel for RTL draft Bug 1323041
authorTomer Cohen <tomer@tomercohen.com>
Fri, 16 Dec 2016 23:53:59 +0200
branchBug 1323041
changeset 450531 5692d682b9fd2acfad1f839ec780825333b19e69
parent 450435 5a536a16e33798fe7b16de35c968d5bc0cbf8448
child 724628 82d72d8d33022bf978b7fe04d8691ba888e11b51
push id38881
push userbmo:tomer.moz.bugs@tomercohen.com
push dateFri, 16 Dec 2016 21:54:44 +0000
bugs1323041
milestone53.0a1
Bug 1323041 Adjust the Animations panel for RTL MozReview-Commit-ID: 8N7Zx69AqxT
devtools/client/animationinspector/animation-inspector.xhtml
--- a/devtools/client/animationinspector/animation-inspector.xhtml
+++ b/devtools/client/animationinspector/animation-inspector.xhtml
@@ -1,14 +1,19 @@
 <?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>
-<html xmlns="http://www.w3.org/1999/xhtml">
+
+<!DOCTYPE html [
+<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;
+<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> %globalDTD;
+]>
+
+<html xmlns="http://www.w3.org/1999/xhtml" dir="&locale.dir;">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     <link rel="stylesheet" href="chrome://devtools/skin/animationinspector.css" type="text/css"/>
     <script type="application/javascript;version=1.8" src="chrome://devtools/content/shared/theme-switching.js"/>
   </head>
   <body class="theme-sidebar devtools-monospace" role="application" empty="true">
     <div id="global-toolbar" class="theme-toolbar">
       <span id="all-animations-label" class="label"></span>