1
0
Fork 0
firefox/dom/tests/browser/focus_after_prompt.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
479 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cursor should not be lost after prompt</title>
<script type="application/javascript">
function init() {
document.getElementById("edit").contentWindow.document.designMode = "on";
}
</script>
</head>
<body onload="init()">
<div id="clickMeDiv" onclick="prompt('This is a dummy prompt!');"
onmousedown="return false;">Click me!</div>
<iframe id="edit"></iframe>
</body>
</html>