mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
85611a7b6d
--HG-- extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
20 lines
412 B
HTML
20 lines
412 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<body style="white-space:pre">0123456789
|
|
<script>
|
|
document.body.offsetTop;
|
|
var t = document.body.firstChild;
|
|
var sel = window.getSelection();
|
|
sel.collapse(t, 2);
|
|
sel.extend(t, 9);
|
|
|
|
function doTest() {
|
|
sel.extend(t, 8);
|
|
document.documentElement.removeAttribute('class');
|
|
}
|
|
document.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</body>
|
|
</html>
|