Bug 1874684 - Part 17: Fix uninitialised variable warnings from clang-tidy. r=allstarschh
[gecko.git] / layout / reftests / selection / dynamic-text-1a.html
blob30e56ad3bcbac2aab9da0471f5b7587b8ca457b3
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);
15 function doTest() {
16 t.replaceData(0, 5, '');
17 document.documentElement.removeAttribute('class');
19 document.addEventListener("MozReftestInvalidate", doTest);
20 </script>
21 </body>
22 </html>