summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/tables/dynamic-columnspan-rowspan-001a.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/presentation-markup/tables/dynamic-columnspan-rowspan-001a.html')
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/tables/dynamic-columnspan-rowspan-001a.html110
1 files changed, 110 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/presentation-markup/tables/dynamic-columnspan-rowspan-001a.html b/testing/web-platform/tests/mathml/presentation-markup/tables/dynamic-columnspan-rowspan-001a.html
new file mode 100644
index 0000000000..c08c1a9fd4
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/tables/dynamic-columnspan-rowspan-001a.html
@@ -0,0 +1,110 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <head>
+ <meta charset="utf-8">
+ <title>dynamic columnspan/rowspan</title>
+ <link rel="help" href="https://w3c.github.io/mathml-core/#table-or-matrix-mtable">
+ <meta name="assert" content="Rendering is updated after modifying columnspan">
+ <link rel="match" href="columnspan-rowspan-ref.html">
+ <style>
+ mtd { padding: 0; }
+ </style>
+ <script>
+ window.addEventListener("load", () => {
+ // force initial layout so we're sure what we're testing against
+ document.documentElement.getBoundingClientRect();
+ document.getElementById('mtd').setAttribute("columnspan", 2);
+ document.documentElement.classList.remove('reftest-wait');
+ });
+ </script>
+ </head>
+ <body>
+ <p>This test passes if you see a green square.</p>
+ <math>
+ <mtable>
+ <mtr>
+ <mtd id="mtd" columnspan="3">
+ <mspace width="80px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ </mtable>
+ </math>
+ </body>
+</html>