mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
455 B
HTML
23 lines
455 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
div {
|
|
min-height: 36px;
|
|
overflow-y: auto;
|
|
}
|
|
</style>
|
|
<script>
|
|
function test() {
|
|
document.querySelector("div").focus();
|
|
}
|
|
function onfocus() {
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="test()">
|
|
<div contenteditable onfocus="onfocus()"></div>
|
|
</body>
|
|
</html>
|