Files
servo/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/002.html

13 lines
339 B
HTML

<!doctype html>
<title>document.open during parsing</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
var log = document.getElementById("log");
document.open()
assert_equals(document.getElementById("log"), log)
})
</script>