| <body> | |
| <script> | |
| // This tests that an <input type="date"> 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="date" value="1999-01-11">'; | |
| document.body.appendChild(template.content.cloneNode(true)); | |
| </script> | |
| </body> |