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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <script>
     5 function doTest() {
     6   var text = document.body.firstChild;
     7   // Replace three lines with two lines (but not at line boundaries)
     8   text.replaceData(34, 21, "5\nLine 6\nLine ");
     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 X
    20 Line X
    21 Line X
    22 Line 7
    23 Line 8
    24 Line 9
    25 </body>
    26 </html>

mercurial