mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
21 lines
447 B
HTML
21 lines
447 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<body style="white-space:pre"> FG
|
|
JK
|
|
<script>
|
|
document.body.offsetTop;
|
|
var t = document.body.firstChild;
|
|
var sel = window.getSelection();
|
|
sel.collapse(t, 1);
|
|
sel.extend(t, 3);
|
|
|
|
function doTest() {
|
|
t.insertData(0, ' BC \n');
|
|
document.documentElement.removeAttribute('class');
|
|
}
|
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|