Bug 44448

Summary: Web Inspector: Trace to the style that contributes to the computed styles panel.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, bweinstein, eric, joepeck, keishi, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[IMAGE] Looks with the patch applied.
none
[PATCH] wip patch.
none
[IMAGE] Looks with the patch applied.
none
[PATCH] Proposed change.
none
[PATCH] Same with one more test expectation fixed. yurys: review+

Pavel Feldman
Reported 2010-08-23 12:11:35 PDT
I am sure I filed a bug for this already, but I can't find it. I'll attach a screenshot with local patch running shortly. Things to address: - brush up the looks - store computed styles tree expansion state - add disable checkboxes (probably in subsequent patch).
Attachments
[IMAGE] Looks with the patch applied. (85.60 KB, image/png)
2010-08-23 12:12 PDT, Pavel Feldman
no flags
[PATCH] wip patch. (22.50 KB, patch)
2010-08-23 12:14 PDT, Pavel Feldman
no flags
[IMAGE] Looks with the patch applied. (69.45 KB, image/png)
2010-08-24 05:51 PDT, Pavel Feldman
no flags
[PATCH] Proposed change. (34.55 KB, patch)
2010-08-24 05:52 PDT, Pavel Feldman
no flags
[PATCH] Same with one more test expectation fixed. (35.39 KB, patch)
2010-08-24 05:58 PDT, Pavel Feldman
yurys: review+
Pavel Feldman
Comment 1 2010-08-23 12:12:10 PDT
Created attachment 65148 [details] [IMAGE] Looks with the patch applied.
Pavel Feldman
Comment 2 2010-08-23 12:14:27 PDT
Created attachment 65149 [details] [PATCH] wip patch.
Pavel Feldman
Comment 3 2010-08-24 05:51:43 PDT
Created attachment 65259 [details] [IMAGE] Looks with the patch applied.
Pavel Feldman
Comment 4 2010-08-24 05:52:47 PDT
Created attachment 65260 [details] [PATCH] Proposed change.
Pavel Feldman
Comment 5 2010-08-24 05:58:32 PDT
Created attachment 65261 [details] [PATCH] Same with one more test expectation fixed.
Yury Semikhatsky
Comment 6 2010-08-24 06:27:07 PDT
Comment on attachment 65261 [details] [PATCH] Same with one more test expectation fixed. LayoutTests/inspector/elements-tests.js:95 + if (!treeItem.listItemElement.textContent.indexOf("width") || Please add comment. LayoutTests/inspector/styles-computed-trace.html:75 + Tests that disabling inherited style property does not break further style inspection. Please fix this. LayoutTests/inspector/styles-disable-inherited.html:52 + testController.notifyDone(testController.results); You can omit the parameter. WebCore/inspector/front-end/StylesSidebarPane.js:752 + this._contributedProperties = {}; It doesn't seem used, please remove.
Pavel Feldman
Comment 7 2010-08-24 09:16:16 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog M LayoutTests/inspector/elements-panel-styles-expected.txt M LayoutTests/inspector/elements-tests.js A LayoutTests/inspector/styles-computed-trace-expected.txt A LayoutTests/inspector/styles-computed-trace.html M LayoutTests/inspector/styles-disable-inherited-expected.txt M LayoutTests/inspector/styles-disable-inherited.html M LayoutTests/inspector/styles-disable-then-delete-expected.txt M LayoutTests/inspector/styles-source-lines-inline-expected.txt M LayoutTests/platform/chromium/test_expectations.txt M WebCore/ChangeLog M WebCore/English.lproj/localizedStrings.js M WebCore/inspector/front-end/Section.js M WebCore/inspector/front-end/StylesSidebarPane.js M WebCore/inspector/front-end/inspector.css M WebCore/inspector/front-end/inspector.js Committed r65905
WebKit Review Bot
Comment 8 2010-08-24 10:03:25 PDT
http://trac.webkit.org/changeset/65905 might have broken GTK Linux 32-bit Release and Qt Linux Release
Adam Barth
Comment 9 2010-08-24 11:44:56 PDT
Pavel Feldman
Comment 10 2010-08-24 11:48:54 PDT
It is fixed in r65909.
Adam Barth
Comment 11 2010-08-24 11:53:04 PDT
(In reply to comment #10) > It is fixed in r65909. Thanks. I was probably look at a bot that was behind.
Note You need to log in before you can comment on or make changes to this bug.