зеркало из https://github.com/mozilla/gecko-dev.git
Bug 611549 - Web Console's input and output sections should be left-to-right in RTL mode; r=ddahl,gavin a=gavin
This commit is contained in:
Родитель
be4cdc6c1a
Коммит
1a905d5b91
|
@ -3382,6 +3382,7 @@ HeadsUpDisplay.prototype = {
|
|||
this.outputNode.setAttribute("flex", "1");
|
||||
this.outputNode.setAttribute("orient", "vertical");
|
||||
this.outputNode.setAttribute("context", this.hudId + "-output-contextmenu");
|
||||
this.outputNode.setAttribute("style", "direction: ltr;");
|
||||
|
||||
this.outputNode.addEventListener("DOMNodeInserted", function(ev) {
|
||||
// DOMNodeInserted is also called when the output node is being *itself*
|
||||
|
@ -4838,6 +4839,7 @@ JSTermFirefoxMixin.prototype = {
|
|||
{
|
||||
let inputContainer = this.xulElementFactory("hbox");
|
||||
inputContainer.setAttribute("class", "jsterm-input-container");
|
||||
inputContainer.setAttribute("style", "direction: ltr;");
|
||||
|
||||
let inputNode = this.xulElementFactory("textbox");
|
||||
inputNode.setAttribute("class", "jsterm-input-node");
|
||||
|
|
Загрузка…
Ссылка в новой задаче