summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug1634743-1-ref.html
blob: 55d036635923df3e7f9f0ce56ecf6540853403c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html class="reftest-wait">
<title>Test reference</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
  div {
    outline: 2px solid blue;
    line-height: 5;
    border: 1px solid gray;
    padding: 8px;
  }
</style>
<div contenteditable="true" spellcheck="false">abc</div>
<script>
SimpleTest.waitForFocus(function() {
  document.querySelector('[contenteditable="true"]').focus();
  requestAnimationFrame(function() {
    requestAnimationFrame(function() {
      document.documentElement.removeAttribute("class");
    });
  });
});
</script>