summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1505875.html
blob: 24a7d82a09e337b12f37132c353bb3ad1150d821 (plain)
1
2
3
4
5
6
7
8
9
10
<script>
function go() {
  var r = document.getSelection().getRangeAt(0).cloneRange();
  a.type = "";
  r.insertNode(b);
}
</script>
<body onload=go()>
<input id="a" autofocus type="date">
<summary id="b">x</summary>