Bug 555289 - Plugin crashed UI should be RTL in RTL locales; r=dao

This commit is contained in:
Ehsan Akhgari 2010-03-29 14:06:25 -04:00
parent b349ccffd7
commit adefcacdfd
2 changed files with 12 additions and 2 deletions

View file

@ -36,7 +36,12 @@
- the terms of any one of the MPL, the GPL or the LGPL. - the terms of any one of the MPL, the GPL or the LGPL.
- -
- ***** END LICENSE BLOCK ***** --> - ***** END LICENSE BLOCK ***** -->
<!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd"> <!DOCTYPE bindings [
<!ENTITY % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd">
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
%pluginsDTD;
%globalDTD;
]>
<bindings id="pluginBindings" <bindings id="pluginBindings"
xmlns="http://www.mozilla.org/xbl" xmlns="http://www.mozilla.org/xbl"
@ -49,7 +54,7 @@
</resources> </resources>
<content> <content>
<xul:vbox class="mainBox" role="link" flex="1"> <xul:vbox class="mainBox" role="link" flex="1" chormedir="&locale.dir;">
<xul:spacer flex="1"/> <xul:spacer flex="1"/>
<xul:box class="icon"/> <xul:box class="icon"/>
<html:div class="msg msgUnsupported">&missingPlugin.label;</html:div> <html:div class="msg msgUnsupported">&missingPlugin.label;</html:div>

View file

@ -48,3 +48,8 @@ html|applet:not([height]), html|applet[height=""] {
.helpIcon { .helpIcon {
cursor: pointer; cursor: pointer;
} }
#mainBox[chromedir="rtl"] {
direction: rtl;
unicode-bidi: embed;
}