summaryrefslogtreecommitdiffstats
path: root/editor/reftests/462758-grabbers-resizers.html
blob: 15459bb6cbd55c4574ba9c3d72c9ec068e393a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html class="reftest-wait">
<head>
  <script type="text/javascript">
    function init() {
      var editor = document.querySelector("div[contenteditable]");
      editor.addEventListener("focus", function() {
        setTimeout(function() {
          document.documentElement.className = "";
        }, 0);
      });
      editor.focus();
    }
  </script>
  <style type="text/css">
    html, body, div {
      margin: 0;
      padding: 0;
    }
    div {
      border: 1px solid black;
      margin: 50px;
      height: 200px;
      width: 200px;
    }
  </style>
</head>
<body onload="init()">
  <div contenteditable style="position: absolute">
    this editable container should be neither draggable nor resizable.
  </div>
</body>
</html>