mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
22 lines
429 B
HTML
22 lines
429 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
div {
|
|
min-height: 36px;
|
|
}
|
|
</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>
|