columnspan-rowspan-006.html (1776B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>columnspan/rowspan</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#table-or-matrix-mtable"> 7 <meta name="assert" content="rowspan=0 means that the cell is to span all the remaining rows in the row group"> 8 <link rel="match" href="columnspan-rowspan-ref.html"> 9 <style> 10 mtd { padding: 0; } 11 </style> 12 </head> 13 <body> 14 <p>This test passes if you see a green square.</p> 15 <math> 16 <mtable> 17 <mtr> 18 <mtd columnspan="5"> 19 <mspace width="200px" depth="40px" style="background: green"/> 20 </mtd> 21 </mtr> 22 <mtr> 23 <mtd columnspan="4"> 24 <mspace width="160px" depth="40px" style="background: green"/> 25 </mtd> 26 <mtd rowspan="0"> 27 <mspace width="40px" depth="160px" style="background: green"/> 28 </mtd> 29 </mtr> 30 <mtr> 31 <mtd columnspan="3"> 32 <mspace width="120px" depth="40px" style="background: green"/> 33 </mtd> 34 <mtd rowspan="0"> 35 <mspace width="40px" depth="120px" style="background: green"/> 36 </mtd> 37 </mtr> 38 <mtr> 39 <mtd columnspan="2"> 40 <mspace width="80px" depth="40px" style="background: green"/> 41 </mtd> 42 <mtd rowspan="0"> 43 <mspace width="40px" depth="80px" style="background: green"/> 44 </mtd> 45 </mtr> 46 <mtr> 47 <mtd> 48 <mspace width="40px" depth="40px" style="background: green"/> 49 </mtd> 50 <mtd rowspan="0"> 51 <mspace width="40px" depth="40px" style="background: green"/> 52 </mtd> 53 </mtr> 54 </mtable> 55 </math> 56 </body> 57 </html>