summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/linebox/needs-layout-transform.html
blob: 8a307b3b68d216521f87698417360a5657b92d79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<title>Reusing cached lines multiple times should not crash</title>
<link rel="author" href="mailto:kojii@chromium.org">
<link rel="help" href="https://crbug.com/1102083">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<a><object id="target"><b></b></object><br></a>
<script>
test(() => {
  const target = document.getElementById('target');
  target.style.setProperty('transition-delay', '9999s');
  document.body.offsetWidth;
  target.style.transform = 'scale(1)';
  document.body.offsetHeight;
}, 'No crash');
</script>