[Webkit-unassigned] [Bug 61997] Cloning elements with shadow DOM does redundant element creation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 03:42:16 PDT 2011


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





--- Comment #3 from Dominic Cooney <dominicc at chromium.org>  2011-06-03 03:42:16 PST ---
Reverting 84528 will ensure that there is no redundant element creation. However it does not ensure that cloned elements end up with valid shadow trees. (For example, <keygen> has no hook to clone its shadow.)

I think we need a general solution where elements with shadow roots get notified when they are cloned, so that they can participate in the clone. For elements like <input type="…"> where setting the type attribute will create a shadow tree anyway, it can just assert that the shadow tree was created.

For elements like keygen, it can create the clone shadow tree at that point.

-- 
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