mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1299723
- Force LTR direction on computed property names. r=pbro
This commit is contained in:
parent
34ca0fe328
commit
f9783c3c60
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user