summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/move-legend-followed-by-textarea-into-orphan-div.html
blob: 462ff37fd628fcd3e807b535befc13268ad14c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Testcase for bug 667321 of Mozilla</title>
<script>
function boom()
{
  document.body.style.float = "left";
  document.createElement("div").appendChild(document.querySelector("legend"));
}
</script>
</head>
<body onload="boom();"><fieldset><legend></legend><textarea></textarea></fieldset></body>
</html>