summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-face/bug-1481905-cancel-load.html
blob: 8ca7b750e7ab31bde407d0e5566f1a28d5f91584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<style id="A">
  @font-face {
    font-family: test;
    src: url("bug-1481905-cancel-load.sjs");
  }
</style>
<style>
  @font-face {
    font-family: test;
    src: url("bug-1481905-cancel-load.sjs");
  }
</style>
<div style="font-family: test, serif">ABC</div>
<div style="font-family: serif">ABC</div>
<script>
  document.body.offsetTop;
  document.getElementById("A").remove();
  document.documentElement.className = "";
</script>