gecko/layout/reftests/bugs/613433-2-ref.html

24 lines
514 B
HTML

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