summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/580507-1.xhtml
blob: eff3fb255d6df9b745669fc96ddd37ec1ef06fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var input = document.getElementById("i");
  input.setAttribute('type', "image");
  input.removeAttribute('type');
  input.placeholder = "Y";
}

</script>
</head>

<body onload="boom();"><input id="i" /></body>
</html>