| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index 30c887d325225d76272a7a17ca22e090da0f1369..4cb6cd94f0a47860626770f219f95544dff07f07 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -625,8 +625,10 @@ Elements.StylePropertiesSection = class {
|
| this.editable = false;
|
| } else {
|
| // Check this is a real CSSRule, not a bogus object coming from Elements.BlankStylePropertiesSection.
|
| - if (rule.styleSheetId)
|
| - this.navigable = !!rule.resourceURL();
|
| + if (rule.styleSheetId) {
|
| + var header = rule.cssModel().styleSheetHeaderForId(rule.styleSheetId);
|
| + this.navigable = !header.isAnonymousInlineStyleSheet();
|
| + }
|
| }
|
| }
|
|
|
| @@ -670,7 +672,7 @@ Elements.StylePropertiesSection = class {
|
| }
|
|
|
| var header = rule.styleSheetId ? matchedStyles.cssModel().styleSheetHeaderForId(rule.styleSheetId) : null;
|
| - if (ruleLocation && rule.styleSheetId && header && header.resourceURL()) {
|
| + if (ruleLocation && rule.styleSheetId && header && !header.isAnonymousInlineStyleSheet()) {
|
| return Elements.StylePropertiesSection._linkifyRuleLocation(
|
| matchedStyles.cssModel(), linkifier, rule.styleSheetId, ruleLocation);
|
| }
|
|
|