Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /mathml/tables/mtable-columnlines-single-mtable-dynamic.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>Test MathML columnlines</title>
<link rel="match" href="mtable-columnlines-single-ref.html"/>
<script type="text/javascript">
function doTest()
{
var table1 = document.getElementById("table1");
var table2 = document.getElementById("table2");
// Table 1 setup
table1.setAttribute("columnlines", "solid");
// Table 2 setup
table2.setAttribute("columnlines", "dashed");
document.documentElement.removeAttribute("class");
}
document.documentElement.addEventListener("TestRendered", doTest);
</script>
</head>
<body>
<b>columnlines="solid"</b> <br />
<math>
<mstyle>
<mtable id="table1">
<mtr>
<mtd>
<mtext>a</mtext>
</mtd>
<mtd>
<mtext>b</mtext>
</mtd>
<mtd>
<mtext>c</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>d</mtext>
</mtd>
<mtd>
<mtext>e</mtext>
</mtd>
<mtd>
<mtext>f</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>g</mtext>
</mtd>
<mtd>
<mtext>h</mtext>
</mtd>
<mtd>
<mtext>i</mtext>
</mtd>
</mtr>
</mtable>
</mstyle>
</math> <br />
<b>columnlines="dashed"</b> <br />
<math>
<mstyle>
<mtable id="table2">
<mtr>
<mtd>
<mtext>a</mtext>
</mtd>
<mtd>
<mtext>b</mtext>
</mtd>
<mtd>
<mtext>c</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>d</mtext>
</mtd>
<mtd>
<mtext>e</mtext>
</mtd>
<mtd>
<mtext>f</mtext>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>g</mtext>
</mtd>
<mtd>
<mtext>h</mtext>
</mtd>
<mtd>
<mtext>i</mtext>
</mtd>
</mtr>
</mtable>
</mstyle>
</math> <br />
</body>
</html>