summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug613433-ref.html
blob: f4a2ab3b6f6811794b363c5b74e0ff1959764698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <style>
      div {
        min-height: 36px;
      }
    </style>
    <script>
      function test() {
        document.querySelector("div").focus();
      }
      function focusTriggered() {
        document.documentElement.removeAttribute("class");
      }
    </script>
  </head>
  <body onload="test()">
    <div contenteditable onfocus="focusTriggered()"></div>
  </body>
</html>