columnspan-rowspan-004.html (1731B)
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="columnspan/rowspan attributes are supported on mtd"> 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 rowspan="5"> 19 <mspace width="40px" depth="200px" style="background: green"/> 20 </mtd> 21 <mtd rowspan="4"> 22 <mspace width="40px" depth="160px" style="background: green"/> 23 </mtd> 24 <mtd rowspan="3"> 25 <mspace width="40px" depth="120px" style="background: green"/> 26 </mtd> 27 <mtd rowspan="2"> 28 <mspace width="40px" depth="80px" style="background: green"/> 29 </mtd> 30 <mtd> 31 <mspace width="40px" depth="40px" style="background: green"/> 32 </mtd> 33 </mtr> 34 <mtr> 35 <mtd> 36 <mspace width="40px" depth="40px" style="background: green"/> 37 </mtd> 38 </mtr> 39 <mtr> 40 <mtd columnspan="2"> 41 <mspace width="80px" depth="40px" style="background: green"/> 42 </mtd> 43 </mtr> 44 <mtr> 45 <mtd columnspan="3"> 46 <mspace width="120px" depth="40px" style="background: green"/> 47 </mtd> 48 </mtr> 49 <mtr> 50 <mtd columnspan="4"> 51 <mspace width="160px" depth="40px" style="background: green"/> 52 </mtd> 53 </mtr> 54 </mtable> 55 </math> 56 </body> 57 </html>