editor/reftests/462758-grabbers-resizers-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/462758-grabbers-resizers-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +  <script type="text/javascript">
     1.8 +    function init() {
     1.9 +      var editor = document.querySelector("div[contenteditable]");
    1.10 +      editor.addEventListener("focus", function() {
    1.11 +        setTimeout(function() {
    1.12 +          document.documentElement.className = "";
    1.13 +        }, 0);
    1.14 +      }, false);
    1.15 +      editor.focus();
    1.16 +    }
    1.17 +  </script>
    1.18 +  <style type="text/css">
    1.19 +    html, body, div {
    1.20 +      margin: 0;
    1.21 +      padding: 0;
    1.22 +    }
    1.23 +    div {
    1.24 +      border: 1px solid black;
    1.25 +      margin: 50px;
    1.26 +      height: 200px;
    1.27 +      width: 200px;
    1.28 +    }
    1.29 +  </style>
    1.30 +</head>
    1.31 +<body onload="init()">
    1.32 +  <div contenteditable>
    1.33 +    this editable container should be neither draggable nor resizable.
    1.34 +  </div>
    1.35 +</body>
    1.36 +</html>
    1.37 +

mercurial