summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-grid/grid-fragmentation-dyn3-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-grid/grid-fragmentation-dyn3-002.html')
-rw-r--r--layout/reftests/css-grid/grid-fragmentation-dyn3-002.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/css-grid/grid-fragmentation-dyn3-002.html b/layout/reftests/css-grid/grid-fragmentation-dyn3-002.html
new file mode 100644
index 000000000..f9439082a
--- /dev/null
+++ b/layout/reftests/css-grid/grid-fragmentation-dyn3-002.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html class="reftest-wait"><head>
+ <meta charset="utf-8">
+ <title>CSS Grid Test: test 002 dynamic remove/insert second item</title>
+ <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1144096">
+ <link rel="help" href="https://drafts.csswg.org/css-grid/#pagination">
+ <link rel="match" href="grid-fragmentation-002-ref.html">
+
+<script src="support/dyn.js"></script>
+<script>
+function runTest(text) {
+ document.body.innerHTML = text;
+ dyn3('.grid');
+ document.documentElement.removeAttribute("class");
+}
+</script>
+
+</head>
+<body onload='dynamicTest("grid-fragmentation-002.html", runTest)'></body>
+</html>