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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 3 01:01:56 PDT 2018


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

--- Comment #7 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Ryosuke Niwa from comment #6)
> Huh, there is a bunch of bugs here but one of the primary issue here is that
> innerHTML is synchronously constructing custom elements. I don't think we're
> supposed to do that.

I think when setting innerHTML, the HTML fragment parsing algorithm is used so we should create an HTMLElement and enqueue an upgrade for later per https://html.spec.whatwg.org/multipage/parsing.html#create-an-element-for-the-token... This is what the patch on bug 183586 is supposed to do (see also bug 188190 for preliminary work).

-- 
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/20180803/e99793d0/attachment.html>


More information about the webkit-unassigned mailing list