summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/make-parent-element-editable-after-making-focused-editing-host-non-editable.html
blob: d624d7d3b98a7c615951f10e381e99fb1266c424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<script>
function boom()
{
  document.getElementById("div").contentEditable = "true";
  document.getElementById("div").focus();
  document.getElementById("div").contentEditable = "false";

  document.getElementById("table").contentEditable = "true";
}
</script>
</head>

<body onload="boom();">

<table id="table"><td></td></table><div id="div"></div>

</body>

</html>