| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>Insert a video element with controls into another document</title> | 2 <title>Insert a video element with controls into another document</title> |
| 3 <script src="../resources/testharness.js"></script> | 3 <script src="../resources/testharness.js"></script> |
| 4 <script src="../resources/testharnessreport.js"></script> | 4 <script src="../resources/testharnessreport.js"></script> |
| 5 <div id="log"></div> | |
| 6 <script> | 5 <script> |
| 7 test(function() | 6 test(function() |
| 8 { | 7 { |
| 9 var video = document.createElement("video"); | 8 var video = document.createElement("video"); |
| 10 video.controls = true; | 9 video.controls = true; |
| 11 video.src = "data:,"; | 10 video.src = "data:,"; |
| 12 | 11 |
| 13 var otherDocument = document.implementation.createHTMLDocument(); | 12 var otherDocument = document.implementation.createHTMLDocument(); |
| 14 otherDocument.body.appendChild(video); | 13 otherDocument.body.appendChild(video); |
| 15 }); | 14 }); |
| 16 </script> | 15 </script> |
| 17 </html> | 16 </html> |
| 18 | 17 |
| 19 | 18 |
| OLD | NEW |