See https://github.com/whatwg/html/pull/6736 Demo: <svg></p><foo> http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=9362 Actual result: - html html - html head - html body - svg svg - html p - svg foo Expected result: - html html - html head - html body - svg svg - html p - html foo (i.e. the <p> is a sibling of <svg>, not a child, and <foo> is an HTML element, not an SVG element.)
<rdar://problem/79495301>
This seems to have been fixed by https://commits.webkit.org/252940@main (https://bugs.webkit.org/show_bug.cgi?id=243331)
Indeed, thank you. *** This bug has been marked as a duplicate of bug 243331 ***