2010-08-24 Pavel Feldman <pfeldman@chromium.org>
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Aug 2010 16:15:46 +0000 (16:15 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Aug 2010 16:15:46 +0000 (16:15 +0000)
commit396a70835acaaa3bed851cc6b00c93a7a2b78ca5
tree269e84f226c84202eb489686dd2e486c843c677e
parent241ccb306b2d7552625d0906c607e51a4fb275cf
2010-08-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Trace to the style that contributes to
        the computed styles panel.
        https://bugs.webkit.org/show_bug.cgi?id=44448

        Test: inspector/styles-computed-trace.html

        * English.lproj/localizedStrings.js:
        * inspector/front-end/Section.js:
        (WebInspector.Section.prototype.set subtitle):
        (WebInspector.Section.prototype.get subtitleAsTextForTest):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylesSidebarPane.prototype._refreshUpdate):
        (WebInspector.StylesSidebarPane.prototype._rebuildUpdate):
        (WebInspector.StylesSidebarPane.prototype._rebuildStyleRules):
        (WebInspector.StylesSidebarPane.prototype._refreshSectionsForStyleRules):
        (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):
        (WebInspector.StylePropertiesSection.linkifyUncopyable):
        (WebInspector.StylePropertiesSection):
        (WebInspector.StylePropertiesSection.prototype.isPropertyInherited):
        (WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
        (WebInspector.StylePropertiesSection.prototype.isPropertyDisabled):
        (WebInspector.StylePropertiesSection.prototype.update):
        (WebInspector.StylePropertiesSection.prototype.onpopulate):
        (WebInspector.ComputedStylePropertiesSection):
        (WebInspector.ComputedStylePropertiesSection.prototype.collapse):
        (WebInspector.ComputedStylePropertiesSection.prototype._isPropertyInherited):
        (WebInspector.ComputedStylePropertiesSection.prototype.update):
        (WebInspector.ComputedStylePropertiesSection.prototype.onpopulate):
        (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace):
        (WebInspector.BlankStylePropertiesSection):
        * inspector/front-end/inspector.css:
        (.styles-section a::before):
        * inspector/front-end/inspector.js:
        (WebInspector.documentClick.followLink):
        (WebInspector.documentClick):
        (WebInspector.linkifyResourceAsNode):
2010-08-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Trace to the style that contributes to
        the computed styles panel.
        https://bugs.webkit.org/show_bug.cgi?id=44448

        * inspector/elements-panel-styles-expected.txt:
        * inspector/elements-tests.js:
        (frontend_getSelectedElementStyles):
        (frontend_dumpStyleTreeItem):
        * inspector/styles-computed-trace-expected.txt: Added.
        * inspector/styles-computed-trace.html: Added.
        * inspector/styles-disable-inherited-expected.txt:
        * inspector/styles-disable-inherited.html:
        * inspector/styles-disable-then-delete-expected.txt:
        * inspector/styles-source-lines-inline-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/inspector/elements-panel-styles-expected.txt
LayoutTests/inspector/elements-tests.js
LayoutTests/inspector/styles-computed-trace-expected.txt [new file with mode: 0644]
LayoutTests/inspector/styles-computed-trace.html [new file with mode: 0644]
LayoutTests/inspector/styles-disable-inherited-expected.txt
LayoutTests/inspector/styles-disable-inherited.html
LayoutTests/inspector/styles-disable-then-delete-expected.txt
LayoutTests/inspector/styles-source-lines-inline-expected.txt
LayoutTests/platform/chromium/test_expectations.txt
WebCore/ChangeLog
WebCore/English.lproj/localizedStrings.js
WebCore/inspector/front-end/Section.js
WebCore/inspector/front-end/StylesSidebarPane.js
WebCore/inspector/front-end/inspector.css
WebCore/inspector/front-end/inspector.js