mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
20 lines
421 B
HTML
20 lines
421 B
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<head>
|
||
|
<body style="white-space:pre">EFGH
|
||
|
IJKL
|
||
|
<script>
|
||
|
var t = document.body.firstChild;
|
||
|
var sel = window.getSelection();
|
||
|
sel.collapse(t, 1);
|
||
|
sel.extend(t, 3);
|
||
|
|
||
|
function doTest() {
|
||
|
t.insertData(0, 'ABCD\n');
|
||
|
document.documentElement.removeAttribute('class');
|
||
|
}
|
||
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|