diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/chrome-336322507-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-anchor-position/chrome-336322507-crash.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/chrome-336322507-crash.html b/testing/web-platform/tests/css/css-anchor-position/chrome-336322507-crash.html new file mode 100644 index 0000000000..922c53b977 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/chrome-336322507-crash.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<link rel="help" href="https://crbug.com/336322507"> +<style> + #crash { + --grad: linear-gradient(black, white); + background: var(--grad); + position: absolute; + top: anchor(center); + } +</style> +<div id="crash"></div> +<script> + document.body.offsetTop; + crash.remove(); +</script> |