| Index: Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index 6a42183aada574a0c3fa6d3d8dea608939d737bf..f21055949f578937446df4bb60d4e0530b570109 100644
|
| --- a/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -266,9 +266,15 @@ WebInspector.StylesSidebarPane.prototype = {
|
| */
|
| _styleSheetRuleEdited: function(editedRule, oldRange, newRange)
|
| {
|
| - var styleRuleSections = this.sections[0];
|
| - for (var i = 1; i < styleRuleSections.length; ++i)
|
| - styleRuleSections[i]._styleSheetRuleEdited(editedRule, oldRange, newRange);
|
| + for (var pseudoId in this.sections) {
|
| + var styleRuleSections = this.sections[pseudoId];
|
| + for (var i = 0; i < styleRuleSections.length; ++i) {
|
| + var section = styleRuleSections[i];
|
| + if (section.computedStyle)
|
| + continue;
|
| + section._styleSheetRuleEdited(editedRule, oldRange, newRange);
|
| + }
|
| + }
|
| },
|
|
|
| /**
|
|
|