[Webkit-unassigned] [Bug 48697] Provide means to store shadow DOM nodes on Element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 1 10:02:12 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48697





--- Comment #4 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2010-11-01 10:02:12 PST ---
(In reply to comment #3)
> I'm not sure if I'm convinced. Shadow DOM is not just DOM, it's an implementation detail of element's renderer. If anything, we should be further isolating it from regular DOM.
> 
> Its lifetime is quite different, too, because shadow DOM nodes never have wrappers.

Whoa, I thought you were asking for clarification here, not actually arguing about validity of current design.

Shadow DOM is just DOM, period. There's nothing to argue here. The way it is implemented currently is backwards.

The absence of JS wrappers has little to do with the matter, since shadow DOM elements still participate in the rest of lifecycle, including events, attachment, detachment, tree and document insertion/removal. Getting it right in the current design is extremely difficult, tricky, and brittle. Arguing for this being hand-coded instead of using standard DOM machinery seems... Halloweeney? :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list