summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1455108.html
blob: 29b1467797045c56f50a1bfed3df8fab73f8e45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<style>
  div::first-line {
    color: yellow:
  }
  .foo span {
    display: none;
  }
  .foo::first-line {
    color: red;
  }
</style>
<div><span>Yo, I'm a first-line<span> really</span></span>
<script>
  document.body.offsetTop;
  document.querySelector('div').classList.add('foo');
</script>