Summary: | REGRESSION: Web Inspector doesn't show CSS rules properly for iframes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jeffrey Rosen <jeff> | ||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bweinstein, fds, joepeck, keishi, pfeldman, pmuellr, rik, timothy | ||||||||
Priority: | P2 | Keywords: | Regression | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Created attachment 42578 [details]
[PATCH]
While I was doing a test for this one.... I could not resist and brushed other tests a bit:
- reused console code
- run all tests after pending dispatches
- added a 200ms timeout instead of 0 one to see how it affects flakiness on bots
- reused some elements code with elements panel test.
Created attachment 42579 [details]
[PATCH] Same with missing resources file.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog M LayoutTests/inspector/console-dir.html M LayoutTests/inspector/console-dirxml.html M LayoutTests/inspector/console-format-collections-expected.txt M LayoutTests/inspector/console-format-collections.html M LayoutTests/inspector/console-format.html M LayoutTests/inspector/console-tests.html M LayoutTests/inspector/elements-panel-structure-expected.txt M LayoutTests/inspector/elements-panel-structure.html M LayoutTests/inspector/evaluate-in-frontend.js A LayoutTests/inspector/resources/styles-iframe-data.html A LayoutTests/inspector/styles-iframe-expected.txt A LayoutTests/inspector/styles-iframe.html M LayoutTests/platform/qt/Skipped M WebCore/ChangeLog M WebCore/inspector/InspectorController.cpp M WebCore/inspector/front-end/DOMAgent.js M WebCore/inspector/front-end/InjectedScript.js M WebCore/inspector/front-end/TestController.js Committed r50574 |
Created attachment 42057 [details] iframe inspector bug The web inspector no longer appears to be aware of CSS rules inside of iframes. It incorrectly displays the parent's css rules instead. See attachment, and inspect the iframe and notice that it says the background is blue, like the parent, instead of green.