mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 823493 - References to IUI in CssHtmlTree.jsm. r=paul
This commit is contained in:
parent
f0657b3816
commit
5211bbacde
@ -1204,13 +1204,13 @@ SelectorView.prototype = {
|
||||
let result = this.selectorInfo.selector.text;
|
||||
if (this.selectorInfo.elementStyle) {
|
||||
let source = this.selectorInfo.sourceElement;
|
||||
let IUI = this.tree.styleInspector.IUI;
|
||||
if (IUI && IUI.selection == source) {
|
||||
let inspector = this.tree.styleInspector.inspector;
|
||||
|
||||
if (inspector.selection.node == source) {
|
||||
result = "this";
|
||||
} else {
|
||||
result = CssLogic.getShortName(source);
|
||||
}
|
||||
|
||||
result += ".style";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user