layout/reftests/text/line-editing-1a.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <script>
     5 function doTest() {
     6   var text = document.body.firstChild;
     7   // Delete a line, then make a change after it
     8   text.deleteData(8, 7);
     9   text.replaceData(55, 1, "8");
    10   document.documentElement.removeAttribute('class');
    11 }
    12 document.addEventListener("MozReftestInvalidate", doTest, false);
    13 </script>
    14 </head>
    15 <body style="white-space:pre; padding: 2px; font-family: sans-serif;">
    16 Line 1
    17 Line 2
    18 Line 2
    19 Line 3
    20 Line 4
    21 Line 5
    22 Line 6
    23 Line 7
    24 Line X
    25 Line 9
    26 </body>
    27 </html>

mercurial