blob: e47f907124e6ef57a36efa21ba2bfb641ec450b4 [file] [log] [blame]
<!doctype html>
<html>
<body>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="resources/model-document.js"></script>
<script>
model_document_test(async modelDocument => {
assert_true(!!modelDocument.querySelector("model"), "The frame contains a <model> element");
assert_true(!!modelDocument.querySelector("model source"), "The <model> element contains a <source> element");
}, "Loading a standalone model resource creates a standalone <model> document.");
</script>
</body>
</html>