layout/reftests/text/line-editing-1a.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.

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

mercurial