Bug 823493 - References to IUI in CssHtmlTree.jsm. r=paul

This commit is contained in:
Michael Ratcliffe 2012-12-20 16:49:20 +00:00
parent f0657b3816
commit 5211bbacde

View File

@ -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";
}