summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/chrome-first-letter-inside-replaced-crash.html
blob: cf9e2d71633e5c5c45ba458b394c986a21acc13d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>Chrome issue 1370386</title>
<link rel="help" href="https://crbug.com/1370386">
<style>
  #fl::first-letter {
    float: right;
  }
</style>
<body>
  <div id="outer">
    <div style="display:table-column;float:left">
      <span id="fl" style="display:inline-block">x</span>
    </div>
  </div>
</body>
<script>
  document.body.offsetTop;
  outer.style.content = "url(data:text/plain,x)";
  fl.firstChild.remove();
  document.body.offsetTop;
</script>