|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>|
|Severity:||Normal||CC:||bweinstein, fds, joepeck, keishi, pfeldman, pmuellr, rik, timothy|
|Version:||528+ (Nightly build)|
Description Jeffrey Rosen 2009-10-28 15:18:27 PDT
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.
Comment 1 Pavel Feldman 2009-11-05 11:07:14 PST
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.
Comment 2 Pavel Feldman 2009-11-05 11:08:49 PST
Created attachment 42579 [details] [PATCH] Same with missing resources file.
Comment 3 Pavel Feldman 2009-11-05 12:13:53 PST
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