Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /mathml/presentation-markup/tables/columnspan-rowspan-004.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>columnspan/rowspan</title>
<meta name="assert" content="columnspan/rowspan attributes are supported on mtd">
<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 rowspan="5">
<mspace width="40px" depth="200px" style="background: green"/>
</mtd>
<mtd rowspan="4">
<mspace width="40px" depth="160px" style="background: green"/>
</mtd>
<mtd rowspan="3">
<mspace width="40px" depth="120px" style="background: green"/>
</mtd>
<mtd rowspan="2">
<mspace width="40px" depth="80px" 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>
</mtr>
<mtr>
<mtd columnspan="2">
<mspace width="80px" depth="40px" style="background: green"/>
</mtd>
</mtr>
<mtr>
<mtd columnspan="3">
<mspace width="120px" depth="40px" style="background: green"/>
</mtd>
</mtr>
<mtr>
<mtd columnspan="4">
<mspace width="160px" depth="40px" style="background: green"/>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>