summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/win/contextmenu-key2.html
blob: 2833e58204fcab929f3e2d6716b76467b53a8742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div oncontextmenu="contextmenu(event)">
Select some text in the contenteditable below and press the context menu key
(or shift+F10).  The browser should not crash.
<div contenteditable id="a">
<p>|content editable|</p>
</div>
After content editable.
</div>
<script>
function contextmenu(event) {
  document.getElementById("a").style.visibility = "hidden";
}
</script>