gecko-dev/testing/web-platform/tests/xhtml/adopt-while-parsing.xhtml
Emilio Cobos Álvarez 530e4429f9 Bug 1539742 - Notify of appends to the right document when parsing into an already-adopted node. r=bzbarsky
nsContentSink used to decide that it was fine to not notify of silent appends to
a document from the parser if the node was not on our document already.

That's not ok, since if styling or layout have happened already on the document
we're getting inserted into nobody notices them, which is wrong.

Differential Revision: https://phabricator.services.mozilla.com/D25300

--HG--
extra : moz-landing-system : lando
2019-03-29 09:55:10 +00:00

11 lines
172 B
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<script>
window.parent.parsingInterrupted();
</script>
<div>
PASS
</div>
</body>
</html>