Index: Source/WebCore/inspector/front-end/StylesSidebarPane.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/StylesSidebarPane.js (revision 106660) |
+++ Source/WebCore/inspector/front-end/StylesSidebarPane.js (working copy) |
@@ -231,7 +231,7 @@ |
function stylesCallback(matchedResult) |
{ |
- if (matchedResult) { |
+ if (matchedResult && this.node === node) { |
resultStyles.matchedCSSRules = matchedResult.matchedCSSRules; |
resultStyles.pseudoElements = matchedResult.pseudoElements; |
resultStyles.inherited = matchedResult.inherited; |