pjs/layout/reftests/bugs/613433-1.html

23 строки
469 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
div {
min-height: 36px;
overflow-x: auto;
}
</style>
<script>
function test() {
document.querySelector("div").focus();
}
function focusTriggered() {
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="test()">
<div contenteditable onfocus="focusTriggered()"></div>
</body>
</html>