зеркало из https://github.com/mozilla/gecko-dev.git
19 строки
479 B
HTML
19 строки
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>
|