| <!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> |