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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/line-editing-1c.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<script>
     1.8 +function doTest() {
     1.9 +  var text = document.body.firstChild;
    1.10 +  // Just make a change
    1.11 +  text.replaceData(55, 1, "8");
    1.12 +  document.documentElement.removeAttribute('class');
    1.13 +}
    1.14 +document.addEventListener("MozReftestInvalidate", doTest, false);
    1.15 +</script>
    1.16 +</head>
    1.17 +<body style="white-space:pre; padding: 2px; font-family: sans-serif;">
    1.18 +Line 1
    1.19 +Line 2
    1.20 +Line 3
    1.21 +Line 4
    1.22 +Line 5
    1.23 +Line 6
    1.24 +Line 7
    1.25 +Line X
    1.26 +Line 9
    1.27 +</body>
    1.28 +</html>

mercurial