summaryrefslogtreecommitdiffstats
path: root/layout/forms/crashtests/366537-1.xhtml
blob: b799cd2ca22f7b0a97f0013f678ee06f653a82ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">

<head>
<script>

function boom()
{
  var fieldset = document.getElementById("fieldset");
  var h3 = document.getElementById("h3");
  var legend = document.getElementById("legend");

  fieldset.appendChild(legend);
  fieldset.appendChild(h3);
  
  document.documentElement.removeAttribute("class");
}

</script>
</head>


<body onload="setTimeout(boom, 30);">

<legend id="legend">legend</legend>

<h3 id="h3">H3</h3>

<select><option>option<fieldset id="fieldset"></fieldset></option></select>

</body>

</html>