From f9783c3c609ab5d04b79779bb9ca5ba1b0b29666 Mon Sep 17 00:00:00 2001 From: Vincent Lequertier Date: Sun, 18 Sep 2016 06:02:00 -0400 Subject: [PATCH] Bug 1299723 - Force LTR direction on computed property names. r=pbro --- devtools/client/inspector/computed/computed.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devtools/client/inspector/computed/computed.js b/devtools/client/inspector/computed/computed.js index f1f04e1e5f70..b979980fef5d 100644 --- a/devtools/client/inspector/computed/computed.js +++ b/devtools/client/inspector/computed/computed.js @@ -961,6 +961,9 @@ PropertyView.prototype = { // Reset its tabindex attribute otherwise, if an ellipsis is applied // it will be reachable via TABing this.nameNode.setAttribute("tabindex", ""); + // Avoid english text (css properties) from being altered + // by RTL mode + this.nameNode.setAttribute("dir", "ltr"); this.nameNode.textContent = this.nameNode.title = this.name; // Make it hand over the focus to the container this.onFocus = () => this.element.focus();