Bug 23826 - Potential bug with before/after rule while moving element from one document to another
Summary: Potential bug with before/after rule while moving element from one document t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-07 16:04 PST by Julien Chaffraix
Modified: 2009-02-12 12:32 PST (History)
0 users

See Also:


Attachments
Proposed change: move toggle into insertedIntoDocument (5.97 KB, patch)
2009-02-12 01:15 PST, Julien Chaffraix
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 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.
Comment 1 Julien Chaffraix 2009-02-12 01:15:23 PST
Created attachment 27590 [details]
Proposed change: move toggle into insertedIntoDocument
Comment 2 Darin Adler 2009-02-12 09:45:53 PST
Comment on attachment 27590 [details]
Proposed change: move toggle into insertedIntoDocument

r=me
Comment 3 Julien Chaffraix 2009-02-12 12:32:16 PST
Landed in r40921.