layout/reftests/selection/dynamic-text-1a.html

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:b8c3a9afda02
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <body style="white-space:pre"> 00
5 BC
6 FG
7 JK
8 <script>
9 document.body.offsetTop;
10 var t = document.body.firstChild;
11 var sel = window.getSelection();
12 sel.collapse(t, 11);
13 sel.extend(t, 13);
14
15 function doTest() {
16 t.replaceData(0, 5, '');
17 document.documentElement.removeAttribute('class');
18 }
19 document.addEventListener("MozReftestInvalidate", doTest, false);
20 </script>
21 </body>
22 </html>

mercurial