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

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 // Insert a line, then make a change after it
michael@0 8 text.insertData(8, "Line 2\n");
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 3
michael@0 18 Line 4
michael@0 19 Line 5
michael@0 20 Line 6
michael@0 21 Line 7
michael@0 22 Line X
michael@0 23 Line 9
michael@0 24 </body>
michael@0 25 </html>

mercurial