Bug 51030 - Web Inspector: Reverted stylesheet breaks style data
Summary: Web Inspector: Reverted stylesheet breaks style data
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 05:22 PST by Alexander Pavlov (apavlov)
Modified: 2010-12-14 06:46 PST (History)
10 users (show)

See Also:


Attachments
[PATCH] Suggested fix (3.36 KB, patch)
2010-12-14 06:09 PST, Alexander Pavlov (apavlov)
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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