<!DOCTYPE html>
<title>Insert a video element with controls into another document</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function()
{
var video = document.createElement("video");
video.controls = true;
video.src = "data:,";
var otherDocument = document.implementation.createHTMLDocument();
otherDocument.body.appendChild(video);
});
</script>
</html>