Bug 92644 - Web Inspector: CSS rule changes made via CSSStyleSheet DOM API are not reflected in the Styles pane
Summary: Web Inspector: CSS rule changes made via CSSStyleSheet DOM API are not reflec...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-07-30 06:13 PDT by Alexander Pavlov (apavlov)
Modified: 2017-11-21 17:07 PST (History)
12 users (show)

See Also:


Attachments
[HTML] Reduction (275 bytes, text/html)
2017-11-21 17:07 PST, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2012-07-30 06:13:37 PDT
What steps will reproduce the problem?
1. go to http://jsfiddle.net/gravof/ECB6c/
2. inspect the body element in the result panel (which is inside an iframe)

What is the expected result?
the "background-color" property has a value of "gray" in the Styles section

What happens instead?
the "background-color" property has a value of "black"

Upstreaming http://code.google.com/p/chromium/issues/detail?id=128905
Comment 1 Alexander Pavlov (apavlov) 2012-10-10 07:54:13 PDT
Another related downstream report about ADDING rules through adding <style> inline stylesheets via the DOM API: http://code.google.com/p/chromium/issues/detail?id=139085
Comment 2 Brian Burg 2014-12-01 14:35:27 PST
Needs standalone test case. Not sure if still relevant.
Comment 3 Radar WebKit Bug Importer 2014-12-01 14:35:38 PST
<rdar://problem/19106990>
Comment 4 Nikita Vasilyev 2017-11-21 17:07:11 PST
Created attachment 327437 [details]
[HTML] Reduction

Still relevant in WebKit.

This since has been fixed in Chrome.