[Webkit-unassigned] [Bug 184307] CustomElements are not always properly upgraded when created via innerHTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 23 09:21:21 PDT 2018


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

--- Comment #2 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
Setting innerHTML ends up calling replaceChildrenWithFragment (from Source/WebCore/editing/markup.cpp) which performs several node operations internally (e.g. appendChild). These operations have CEReactions and so should ensure upgrade reactions are invoked when using the public DOM API: https://dom.spec.whatwg.org/#interface-node ; I wonder if we should do something similar winternally.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180723/edd41b65/attachment-0001.html>


More information about the webkit-unassigned mailing list