summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/tables/columnspan-rowspan-006.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/presentation-markup/tables/columnspan-rowspan-006.html')
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/tables/columnspan-rowspan-006.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/presentation-markup/tables/columnspan-rowspan-006.html b/testing/web-platform/tests/mathml/presentation-markup/tables/columnspan-rowspan-006.html
new file mode 100644
index 0000000000..774fcbfdc7
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/tables/columnspan-rowspan-006.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>columnspan/rowspan</title>
+ <link rel="help" href="https://w3c.github.io/mathml-core/#table-or-matrix-mtable">
+ <meta name="assert" content="rowspan=0 means that the cell is to span all the remaining rows in the row group">
+ <link rel="match" href="columnspan-rowspan-ref.html">
+ <style>
+ mtd { padding: 0; }
+ </style>
+ </head>
+ <body>
+ <p>This test passes if you see a green square.</p>
+ <math>
+ <mtable>
+ <mtr>
+ <mtd columnspan="5">
+ <mspace width="200px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd columnspan="4">
+ <mspace width="160px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd rowspan="0">
+ <mspace width="40px" depth="160px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd columnspan="3">
+ <mspace width="120px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd rowspan="0">
+ <mspace width="40px" depth="120px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd columnspan="2">
+ <mspace width="80px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd rowspan="0">
+ <mspace width="40px" depth="80px" style="background: green"/>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ <mtd rowspan="0">
+ <mspace width="40px" depth="40px" style="background: green"/>
+ </mtd>
+ </mtr>
+ </mtable>
+ </math>
+ </body>
+</html>