haikuwebkit/ManualTests/win/contextmenu-key2.html

14 lines
369 B
HTML

<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>