• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<div oncontextmenu="contextmenu(event)">
2Select some text in the contenteditable below and press the context menu key
3(or shift+F10).  The browser should not crash.
4<div contenteditable id="a">
5<p>|content editable|</p>
6</div>
7After content editable.
8</div>
9<script>
10function contextmenu(event) {
11  document.getElementById("a").style.visibility = "hidden";
12}
13</script>
14