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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 26 01:27:16 PDT 2018


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

--- Comment #3 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Frédéric Wang (:fredw) from comment #2)
> 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.

I stand corrected. This is supposed to be already handled by the CEReaction extended attribute on innerHTML.

-- 
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/20180726/a2edf8f8/attachment.html>


More information about the webkit-unassigned mailing list