Bug 30132

Summary: Make beforeload work with link/xml-stylesheet elements
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: CSSAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Add support for beforeload for stylesheet loads
none
Patch
aroben: review+
Patch aroben: review+

Dave Hyatt
Reported 2009-10-06 10:38:50 PDT
Make beforeload work with stylesheet loads.
Attachments
Add support for beforeload for stylesheet loads (14.51 KB, patch)
2009-10-06 12:50 PDT, Dave Hyatt
no flags
Patch (14.43 KB, patch)
2009-10-06 13:03 PDT, Dave Hyatt
aroben: review+
Patch (16.54 KB, patch)
2009-10-06 14:23 PDT, Dave Hyatt
aroben: review+
Dave Hyatt
Comment 1 2009-10-06 12:50:37 PDT
Created attachment 40737 [details] Add support for beforeload for stylesheet loads
Dave Hyatt
Comment 2 2009-10-06 13:03:08 PDT
Adam Roben (:aroben)
Comment 3 2009-10-06 13:12:03 PDT
Comment on attachment 40738 [details] Patch It would be good to add comments/tests for the bug fixes you made to ProcessingInstruction and HTMLLinkElement. It would also be good to add a test that uses ProcessingInstruction! r=me
Dave Hyatt
Comment 4 2009-10-06 14:23:42 PDT
Adam Roben (:aroben)
Comment 5 2009-10-06 14:59:44 PDT
Comment on attachment 40743 [details] Patch > void ProcessingInstruction::setData(const String& data, ExceptionCode&) > { > - int oldLength = m_data.length(); > m_data = data; > - document()->textRemoved(this, 0, oldLength); > + checkStyleSheet(); > } Why don't we need to call textRemoved anymore? Was it buggy? Is there anything we need to do for PIs that are not stylesheets? You should address at least some of these questions in your ChangeLog. You should add your new test to your ChangeLogs. r=me
Dave Hyatt
Comment 6 2009-10-06 15:28:07 PDT
Fixed in r49208.
Note You need to log in before you can comment on or make changes to this bug.