mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
447 B
HTML
22 lines
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>
|