[whatwg/dom] Node insertion step 7.7 isn't upgrading disconnected uncustomized elements that browsers do upgrade (#833)

As written, https://dom.spec.whatwg.org/#concept-node-insert 7.7.2.2 only fires for a non-custom node that is connected.

However, WPT tests such as https://github.com/web-platform-tests/wpt/blob/master/custom-elements/reactions/Range.html and https://github.com/web-platform-tests/wpt/blob/master/custom-elements/reactions/HTMLTableElement.html create nodes via createContextualFragment and innerHTML and expect upgrade reactions, even when the nodes are disconnected from the document tree.

Browsers agree with the tests, as seen in the relevant rows of https://wpt.fyi/results/custom-elements/reactions?label=experimental&label=master&aligned.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/833

Received on Tuesday, 11 February 2020 17:17:12 UTC