mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-12-25 21:29:53 +00:00
34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<head>
|
||
|
<body style="white-space:pre"
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
><img src="data:image/gif;base64,R0lGODlhEAAQAPAAALuWAAAAACH5BAUIAAEALAMAAwAKAAoAAAIMDI5nye0Po5xutVAAADs="
|
||
|
>
|
||
|
<script>
|
||
|
document.body.offsetTop;
|
||
|
var t = document.body;
|
||
|
// Test focus < anchor < newfocus
|
||
|
var sel = window.getSelection();
|
||
|
function loaded() {
|
||
|
sel.collapse(t, 2); // anchor
|
||
|
sel.extend(t, 1); // focus
|
||
|
}
|
||
|
function doTest() {
|
||
|
sel.extend(t, 8); // newfocus
|
||
|
document.documentElement.removeAttribute('class');
|
||
|
}
|
||
|
window.addEventListener("load", loaded, false);
|
||
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|