mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
ed17f6c827
--HG-- extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
19 lines
479 B
HTML
19 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>
|