diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/chrome-body-overflow-propagation-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-overflow/chrome-body-overflow-propagation-crash.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/chrome-body-overflow-propagation-crash.html b/testing/web-platform/tests/css/css-overflow/chrome-body-overflow-propagation-crash.html new file mode 100644 index 0000000000..22607b4a4d --- /dev/null +++ b/testing/web-platform/tests/css/css-overflow/chrome-body-overflow-propagation-crash.html @@ -0,0 +1,17 @@ +<!doctype html> +<title>CSS Overflow Test: Chrome scrollbar crash - multiple body elements, removed stylesheet</title> +<style id="sheet"> +</style> +<style> + body { + overflow: scroll; + width: 100px; + height: 100px; + } +</style> +<body>Pass if no crash</body> +<script> + document.body.offsetTop; + sheet.remove(); + document.documentElement.insertBefore(document.createElement("body"), document.body); +</script> |