Bug 23826

Summary: Potential bug with before/after rule while moving element from one document to another
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed change: move toggle into insertedIntoDocument darin: review+

Julien Chaffraix
Reported 2009-02-07 16:04:05 PST
As part of http://trac.webkit.org/changeset/40005, setUsesBeforeAfterRules was added as part of the element construction instead of as part of the insertion for 2 elements. Moving such an element from a document to another could lead to the before/after rules not been enabled on the new document.
Attachments
Proposed change: move toggle into insertedIntoDocument (5.97 KB, patch)
2009-02-12 01:15 PST, Julien Chaffraix
darin: review+
Julien Chaffraix
Comment 1 2009-02-12 01:15:23 PST
Created attachment 27590 [details] Proposed change: move toggle into insertedIntoDocument
Darin Adler
Comment 2 2009-02-12 09:45:53 PST
Comment on attachment 27590 [details] Proposed change: move toggle into insertedIntoDocument r=me
Julien Chaffraix
Comment 3 2009-02-12 12:32:16 PST
Landed in r40921.
Note You need to log in before you can comment on or make changes to this bug.