summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html
blob: 3bbe97ce1df97ba717f8d3f5aefd94f9e7efc355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1250391">

<script>
  function go() {
    const range = document.createRange();
    range.setEnd(document.querySelector('textarea'), 0);
    document.querySelector('progress').getBoundingClientRect();
    range.getBoundingClientRect();
  }
</script>

<body onload='go()'>
  <progress>
    <textarea>hello</textarea>
  </progress>
  <div style="content-visibility:hidden"></div>
</body>