layout/reftests/mathml/mtable-columnlines-single-mtable-dynamic.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mtable-columnlines-single-mtable-dynamic.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,105 @@
     1.4 +<!DOCTYPE>
     1.5 +<html class="reftest-wait">
     1.6 +  <head>
     1.7 +    <title>Test MathML columnlines</title>
     1.8 +    <script type="text/javascript">
     1.9 +      function doTest()
    1.10 +      {
    1.11 +        var table1 = document.getElementById("table1");
    1.12 +        var table2 = document.getElementById("table2");
    1.13 +
    1.14 +        // Table 1 setup
    1.15 +        table1.setAttribute("columnlines", "solid");
    1.16 +        // Table 2 setup
    1.17 +        table2.setAttribute("columnlines", "dashed");
    1.18 +
    1.19 +        document.documentElement.removeAttribute("class");
    1.20 +      }
    1.21 +      window.addEventListener("MozReftestInvalidate", doTest, false);
    1.22 +    </script>
    1.23 +  </head>
    1.24 +  <body>
    1.25 +  <b>columnlines="solid"</b> <br />
    1.26 +  <math>
    1.27 +    <mstyle>
    1.28 +      <mtable id="table1">
    1.29 +        <mtr>
    1.30 +          <mtd>
    1.31 +            <mtext>a</mtext>
    1.32 +          </mtd>
    1.33 +          <mtd>
    1.34 +            <mtext>b</mtext>
    1.35 +          </mtd>
    1.36 +          <mtd>
    1.37 +            <mtext>c</mtext>
    1.38 +          </mtd>
    1.39 +        </mtr>
    1.40 +        <mtr>
    1.41 +          <mtd>
    1.42 +            <mtext>d</mtext>
    1.43 +          </mtd>
    1.44 +
    1.45 +          <mtd>
    1.46 +            <mtext>e</mtext>
    1.47 +          </mtd>
    1.48 +          <mtd>
    1.49 +            <mtext>f</mtext>
    1.50 +          </mtd>
    1.51 +        </mtr>
    1.52 +        <mtr>
    1.53 +          <mtd>
    1.54 +            <mtext>g</mtext>
    1.55 +          </mtd>
    1.56 +          <mtd>
    1.57 +            <mtext>h</mtext>
    1.58 +          </mtd>
    1.59 +          <mtd>
    1.60 +            <mtext>i</mtext>
    1.61 +          </mtd>
    1.62 +        </mtr>
    1.63 +      </mtable>
    1.64 +    </mstyle>
    1.65 +  </math> <br />
    1.66 +  <b>columnlines="dashed"</b> <br />
    1.67 +  <math>
    1.68 +    <mstyle>
    1.69 +      <mtable id="table2">
    1.70 +        <mtr>
    1.71 +          <mtd>
    1.72 +            <mtext>a</mtext>
    1.73 +          </mtd>
    1.74 +          <mtd>
    1.75 +            <mtext>b</mtext>
    1.76 +          </mtd>
    1.77 +          <mtd>
    1.78 +            <mtext>c</mtext>
    1.79 +          </mtd>
    1.80 +        </mtr>
    1.81 +        <mtr>
    1.82 +          <mtd>
    1.83 +            <mtext>d</mtext>
    1.84 +          </mtd>
    1.85 +
    1.86 +          <mtd>
    1.87 +            <mtext>e</mtext>
    1.88 +          </mtd>
    1.89 +          <mtd>
    1.90 +            <mtext>f</mtext>
    1.91 +          </mtd>
    1.92 +        </mtr>
    1.93 +        <mtr>
    1.94 +          <mtd>
    1.95 +            <mtext>g</mtext>
    1.96 +          </mtd>
    1.97 +          <mtd>
    1.98 +            <mtext>h</mtext>
    1.99 +          </mtd>
   1.100 +          <mtd>
   1.101 +            <mtext>i</mtext>
   1.102 +          </mtd>
   1.103 +        </mtr>
   1.104 +      </mtable>
   1.105 +    </mstyle>
   1.106 +  </math> <br />
   1.107 +  </body>
   1.108 +</html>

mercurial