tenfourfox/layout/reftests/mathml/mtable-rowlines-single-mtable-dynamic.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

106 lines
2.1 KiB
HTML

<!DOCTYPE>
<html class="reftest-wait">
<head>
<title>Test MathML rowlines</title>
<script type="text/javascript">
function doTest()
{
var table1 = document.getElementById("table1");
var table2 = document.getElementById("table2");
// Table 1 setup
table1.setAttribute("rowlines", "solid");
// Table 2 setup
table2.setAttribute("rowlines", "dashed");
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</head>
<body>
<b>rowlines="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>rowlines="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>