Bug 80818 - [meta] Attach() should know its context.
Summary: [meta] Attach() should know its context.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 00:17 PDT by Shinya Kawanaka
Modified: 2012-06-05 02:03 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinya Kawanaka 2012-03-12 00:17:57 PDT
When attach() is called, currently we cannot know how attach() is called. This is causing the following problems.

(1) In shadow tree, we have to decide: 'we have to re-construct whole shadow tree' or 'just constructing the attached subtree suffices'.
(2) Though we have to know the visual parent of the attached element in InsertionPoint, we calculate them on-the-fly.
(3) Some contextual flags are distributed in several elements, and referring them in attach().

If attach() is called with some context, these problem would be able to be solved.
Comment 1 Shinya Kawanaka 2012-06-05 02:03:00 PDT
This attempt failed... Let's make this invalid for now.
If you don't think so, feel free to reopen.