summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/forms/the-input-element/input-type-change-empty-crash.html
blob: 6e44250ccb79f3a2a06b6ef639914cad656a4bb6 (plain)
1
2
3
4
5
6
7
8
<script>
document.addEventListener('DOMContentLoaded', () => {
  a.type = "foo"
  document.execCommand("insertHorizontalRule", false)
  a.type = "text"
})
</script>
<input id="a" type="color">