summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug1132768-1.html
blob: dafa3aa3e5de0235c494cd987dd9bdc78fc130cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html class="reftest-wait">
  <script src="/tests/SimpleTest/EventUtils.js"></script>
  <script>
    function test() {
      focus();
      synthesizeMouseAtCenter(document.querySelector("span"), {});
    }
    function focused() {
      document.documentElement.removeAttribute("class");
    }
  </script>
  <body onload="setTimeout(test, 0)">
    <div contenteditable spellcheck="false" onfocus="focused()"
         style="outline: none">foo<span contenteditable=false>bar</span>baz</div>
  </body>
</html>