Bug 141450

Summary: Web Inspector: Better support for CSSOM StyleSheet mutations (insertRule/deleteRule)
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, jonowells, qianlangchen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=92644

Description Joseph Pecoraro 2015-02-10 17:24:37 PST
* SUMMARY
Web Inspector should better support for CSSOM StyleSheet mutations (insertRule/deleteRule).

* NOTES
Currently InspectorStyleSheet manages a ParsedStyleSheet, with extra "SourceData" parsed from the raw stylesheet text. The raw text however, will be missing rule mutations to the actual CSSStyleSheet, e.g. insertRule / deleteRule. Thus making an imbalance between the rule ordinals in the SourceData map and the actual CSSStyleSheet CSSRules.
Comment 1 Radar WebKit Bug Importer 2015-02-10 17:25:00 PST
<rdar://problem/19790845>