diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/linebox/needs-layout-transform.html')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/linebox/needs-layout-transform.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/linebox/needs-layout-transform.html b/testing/web-platform/tests/css/CSS2/linebox/needs-layout-transform.html new file mode 100644 index 0000000000..8a307b3b68 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/linebox/needs-layout-transform.html @@ -0,0 +1,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> |