summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/crashtests/contain-strict-nested-subgrid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/subgrid/crashtests/contain-strict-nested-subgrid.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/subgrid/crashtests/contain-strict-nested-subgrid.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/subgrid/crashtests/contain-strict-nested-subgrid.html b/testing/web-platform/tests/css/css-grid/subgrid/crashtests/contain-strict-nested-subgrid.html
new file mode 100644
index 0000000000..a98e43777e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/subgrid/crashtests/contain-strict-nested-subgrid.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1606485">
+<style>
+* {
+ grid-template-rows: subgrid;
+ display: grid;
+ overflow: scroll;
+ contain: strict;
+}
+</style>
+<script>
+document.addEventListener('DOMContentLoaded', function() {
+ let e = document.createElement('s');
+ document.documentElement.appendChild(e);
+ document.documentElement.getBoundingClientRect() // Update layout
+});
+</script>