summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/subgrid-reflow-root-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/subgrid/subgrid-reflow-root-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/subgrid/subgrid-reflow-root-crash.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/subgrid/subgrid-reflow-root-crash.html b/testing/web-platform/tests/css/css-grid/subgrid/subgrid-reflow-root-crash.html
new file mode 100644
index 0000000000..1e2b9081eb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/subgrid/subgrid-reflow-root-crash.html
@@ -0,0 +1,15 @@
+<style>
+* {
+ grid-template-rows: subgrid;
+ display: inline-grid;
+}
+
+html {
+ contain: strict;
+}
+</style>
+<script>
+ window.addEventListener('load', () => {
+ document.head.appendChild(document.createElement('style'))
+ })
+</script>