Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/linebox/needs-layout-transform.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Reusing cached lines multiple times should not crash</title>
<link rel="author" href="mailto:kojii@chromium.org">
<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>