gecko/layout/base/tests/bug1132768-1.html

18 lines
525 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
function test() {
focus();
synthesizeMouseAtCenter(document.querySelector("span"), {});
}
function focused() {
document.documentElement.removeAttribute("class");
}
</script>
<body onload="setTimeout(test, 0)">
<div contenteditable spellcheck="false" onfocus="focused()"
style="outline: none">foo<span contenteditable=false>bar</span>baz</div>
</body>
</html>