зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
447 B
HTML
22 строки
447 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
div {
|
|
min-height: 36px;
|
|
}
|
|
</style>
|
|
<script>
|
|
function test() {
|
|
document.querySelector("div").focus();
|
|
}
|
|
function focusTriggered() {
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="test()">
|
|
<div contenteditable onfocus="focusTriggered()"><br></div>
|
|
</body>
|
|
</html>
|