editor/reftests/969773-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/969773-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +  <meta charset="utf-8">
     1.8 +  <title>Contenteditable Selection Test Case</title>
     1.9 +  <script>
    1.10 +    function runTests() {
    1.11 +      var text = document.getElementById("text");
    1.12 +
    1.13 +      text.focus();
    1.14 +
    1.15 +      setTimeout(function () {
    1.16 +        document.body.offsetHeight;
    1.17 +        document.documentElement.removeAttribute('class');
    1.18 +      }, 0);
    1.19 +    }
    1.20 +    document.addEventListener('MozReftestInvalidate', runTests, false);
    1.21 +  </script>
    1.22 +</head>
    1.23 +<body>
    1.24 +    <div>This is a contenteditable.</div>
    1.25 +    <div id="text" tabindex="0">This is focusable text</div>
    1.26 +</body>
    1.27 +</html>

mercurial