<body> | |
<script> | |
// This tests that an <input type="month"> created in a template document (e.g. one without a frame) | |
// is identical to one created in the main document. | |
let template = document.createElement('template'); | |
template.innerHTML = '<input type="month" value="1999-01">'; | |
document.body.appendChild(template.content.cloneNode(true)); | |
</script> | |
</body> |