Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
<head>
<title>tagName in template</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<template><div></div></template>
<div id="log"></div>
<script><![CDATA[
test(function() {
assert_equals(document.getElementsByTagName("template")[0].content.firstChild.tagName, 'div', "tagName case");
}, "tagName case");
]]></script>
</body>
</html>