Fixes the regression where style rules in the Inspector always show "inline stylesheet"
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Apr 2008 20:33:25 +0000 (20:33 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Apr 2008 20:33:25 +0000 (20:33 +0000)
commitd176ca8cb36c389bd0dfca0055f3c776918b0a99
treeabb31fbf0a5db609f133a95f49b31e30cd03e8d9
parent77e147f3d2f661be981957d0da2fa1478dc3866d
Fixes the regression where style rules in the Inspector always show "inline stylesheet"
for the source of the rule and not the URL or other sources.

https://bugs.webkit.org/show_bug.cgi?id=18592

Reviewed by Dan Bernstein.

* page/inspector/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.prototype.update): Add parentStyleSheet to the anonymous obejct
that we make for each matched rule. The parentStyleSheet property is used later to make the subtitle.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/StylesSidebarPane.js