| <!DOCTYPE html> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <script src="../../../resources/js-test.js"></script> |
| <script> |
| |
| description('Test HTMLTemplateElement content ownerDocument in XHTML Document'); |
| |
| shouldBeFalse('document instanceof HTMLDocument'); |
| var template4 = document.createElement('template'); |
| var templateContentOwnerDocument = template4.content.ownerDocument; |
| shouldNotBe('document', 'templateContentOwnerDocument'); |
| shouldBeFalse('templateContentOwnerDocument instanceof HTMLDocument'); |
| |
| </script> |
| </html> |