layout/reftests/text/line-editing-1c.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   // Just make a change
     8   text.replaceData(55, 1, "8");
     9   document.documentElement.removeAttribute('class');
    10 }
    11 document.addEventListener("MozReftestInvalidate", doTest, false);
    12 </script>
    13 </head>
    14 <body style="white-space:pre; padding: 2px; font-family: sans-serif;">
    15 Line 1
    16 Line 2
    17 Line 3
    18 Line 4
    19 Line 5
    20 Line 6
    21 Line 7
    22 Line X
    23 Line 9
    24 </body>
    25 </html>

mercurial