diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/crashtests/contain-nested-relayout-boundary.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/crashtests/contain-nested-relayout-boundary.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-relayout-boundary.html b/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-relayout-boundary.html new file mode 100644 index 0000000000..ce915728f4 --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-relayout-boundary.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<div style="position: relative; width: 100px; height: 100px; overflow: hidden;"> + <div id="target" style="contain: size layout;"> + <canvas id="inner" width="0"></canvas> + </div> +</div> +<script> +document.body.offsetTop; +document.getElementById('inner').width = '100'; +document.getElementById('target').style.contain = 'initial'; +</script> |