summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-line/stress-4.html
blob: 566dfd7ebd2188c516b5497e4fceb8f14a89174e (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
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
#a:first-child::first-line { }
</style>
<script>
  function runTest() {
    document.getElementById("a").removeAttribute('style');
    document.body.offsetWidth;
    document.documentElement.className = "";  
  }
</script>
</head><body onload="runTest()">

<div style="position:absolute;">
  <span id="a" style="position:fixed;">
    <span>
      <span style="display:table;position:absolute;">
      </span>
    </span>
    Loading this should not crash Mozilla
  </span>
</div>


</body></html>