Bug 585374 - Add RTL support to about:about, r=gavin, a=gavin
authorPhil Ringnalda <philringnalda@gmail.com>
Sat, 07 Aug 2010 20:31:40 -0700
changeset 51167 76ab4a4d111cd6083069a8a86298a1a4d73886a7
parent 51166 f31eb14e3014558390b73128c3d5985025fc6d19
child 51168 3fadf3ab765284cbfbb399792d532b5a240c1251
push idunknown
push userunknown
push dateunknown
reviewersgavin, gavin
bugs585374
milestone2.0b5pre
Bug 585374 - Add RTL support to about:about, r=gavin, a=gavin
toolkit/content/aboutAbout.xhtml
--- a/toolkit/content/aboutAbout.xhtml
+++ b/toolkit/content/aboutAbout.xhtml
@@ -1,12 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
 <!ENTITY % aboutAboutDTD SYSTEM "chrome://global/locale/aboutAbout.dtd" >
 %aboutAboutDTD;
+<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
+%globalDTD;
 ]>
 # ***** BEGIN LICENSE BLOCK *****
 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
 #
 # The contents of this file are subject to the Mozilla Public License Version
 # 1.1 (the "License"); you may not use this file except in compliance with
 # the License. You may obtain a copy of the License at
 # http://www.mozilla.org/MPL/
@@ -87,14 +89,14 @@
       link.href = uri;
       link.appendChild(text);
       li.appendChild(link);
       gContainer.appendChild(li);
     }
   ]]></script>
 </head>
 
-<body>
+<body dir="&locale.dir;">
   <h1>&aboutAbout.title;</h1>
   <p><em>&aboutAbout.note;</em></p>
   <ul id="abouts" class="columns"></ul>
 </body>
 </html>