summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-004.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-004.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-004.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-004.html b/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-004.html
new file mode 100644
index 0000000000..db29e1424d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-004.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1439692">
+<style>
+body, fieldset { contain: strict; }
+</style>
+<script>
+function crash() {
+ document.body.offsetTop;
+ document.body.appendChild(document.createElement("fieldset"));
+}
+</script>
+<body onload="crash()">