summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1402218-1.html
blob: 597c1c4d5e53fabb627f6fdb4431c027609e4758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<style>
#wrapper::first-line {}
</style>
<body>
<div id="wrapper">
  <div id="test"></div>
</div>
<script>
  document.querySelector('#test').style.position = 'absolute';
  document.body.offsetHeight;
  document.querySelector('#wrapper').style.color = 'green';
  document.querySelector('#test').style.position = '';
</script>
</body>