Bug 51030

Summary: Web Inspector: Reverted stylesheet breaks style data
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Suggested fix yurys: review+

Description Alexander Pavlov (apavlov) 2010-12-14 05:22:52 PST
If there are more than 1 rules in a reverted stylesheet, all style data are broken after the revert
Comment 1 Alexander Pavlov (apavlov) 2010-12-14 06:09:27 PST
Created attachment 76528 [details]
[PATCH] Suggested fix
Comment 2 Alexander Pavlov (apavlov) 2010-12-14 06:46:46 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
        M       LayoutTests/ChangeLog
        M       LayoutTests/inspector/styles-new-API-expected.txt
        M       LayoutTests/inspector/styles-new-API.html
        M       WebCore/ChangeLog
        M       WebCore/inspector/InspectorStyleSheet.cpp
Committed r74020