blob: dee9b619555f409f3cda28515f60038e1e546b15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!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>
|