layout/reftests/mathml/mtable-columnalign-multi-mtable-dynamic.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <!DOCTYPE>
michael@0 2 <html class="reftest-wait">
michael@0 3 <head>
michael@0 4 <title>Test MathML columnalign</title>
michael@0 5 <script type="text/javascript">
michael@0 6 function doTest()
michael@0 7 {
michael@0 8 var table1 = document.getElementById("table1");
michael@0 9 var table2 = document.getElementById("table2");
michael@0 10 var table3 = document.getElementById("table3");
michael@0 11
michael@0 12 // Table 1 setup
michael@0 13 table1.setAttribute("columnalign", "left center right");
michael@0 14 // Table 2 setup
michael@0 15 table2.setAttribute("columnalign", "right left center");
michael@0 16 // Table 3 setup
michael@0 17 table3.setAttribute("columnalign", "center right left");
michael@0 18
michael@0 19 document.documentElement.removeAttribute("class");
michael@0 20 }
michael@0 21 window.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 22 </script>
michael@0 23 </head>
michael@0 24 <body>
michael@0 25 <b>columnalign="left center right"</b> <br />
michael@0 26 <math>
michael@0 27 <mstyle>
michael@0 28 <mtable id="table1">
michael@0 29 <mtr>
michael@0 30 <mtd>
michael@0 31 <mtext>123</mtext>
michael@0 32 </mtd>
michael@0 33 <mtd>
michael@0 34 <mtext>123</mtext>
michael@0 35 </mtd>
michael@0 36 <mtd>
michael@0 37 <mtext>123</mtext>
michael@0 38 </mtd>
michael@0 39 </mtr>
michael@0 40 <mtr>
michael@0 41 <mtd>
michael@0 42 <mtext>12345</mtext>
michael@0 43 </mtd>
michael@0 44 <mtd>
michael@0 45 <mtext>12345</mtext>
michael@0 46 </mtd>
michael@0 47 <mtd>
michael@0 48 <mtext>12345</mtext>
michael@0 49 </mtd>
michael@0 50 </mtr>
michael@0 51 <mtr>
michael@0 52 <mtd>
michael@0 53 <mtext>1234567</mtext>
michael@0 54 </mtd>
michael@0 55 <mtd>
michael@0 56 <mtext>1234567</mtext>
michael@0 57 </mtd>
michael@0 58 <mtd>
michael@0 59 <mtext>1234567</mtext>
michael@0 60 </mtd>
michael@0 61 </mtr>
michael@0 62 </mtable>
michael@0 63 </mstyle>
michael@0 64 </math> <br />
michael@0 65 <b>columnalign="right left center"</b> <br />
michael@0 66 <math>
michael@0 67 <mstyle>
michael@0 68 <mtable id="table2">
michael@0 69 <mtr>
michael@0 70 <mtd>
michael@0 71 <mtext>123</mtext>
michael@0 72 </mtd>
michael@0 73 <mtd>
michael@0 74 <mtext>123</mtext>
michael@0 75 </mtd>
michael@0 76 <mtd>
michael@0 77 <mtext>123</mtext>
michael@0 78 </mtd>
michael@0 79 </mtr>
michael@0 80 <mtr>
michael@0 81 <mtd>
michael@0 82 <mtext>12345</mtext>
michael@0 83 </mtd>
michael@0 84 <mtd>
michael@0 85 <mtext>12345</mtext>
michael@0 86 </mtd>
michael@0 87 <mtd>
michael@0 88 <mtext>12345</mtext>
michael@0 89 </mtd>
michael@0 90 </mtr>
michael@0 91 <mtr>
michael@0 92 <mtd>
michael@0 93 <mtext>1234567</mtext>
michael@0 94 </mtd>
michael@0 95 <mtd>
michael@0 96 <mtext>1234567</mtext>
michael@0 97 </mtd>
michael@0 98 <mtd>
michael@0 99 <mtext>1234567</mtext>
michael@0 100 </mtd>
michael@0 101 </mtr>
michael@0 102 </mtable>
michael@0 103 </mstyle>
michael@0 104 </math> <br />
michael@0 105 <b>columnalign="center right left"</b> <br />
michael@0 106 <math>
michael@0 107 <mstyle>
michael@0 108 <mtable id="table3">
michael@0 109 <mtr>
michael@0 110 <mtd>
michael@0 111 <mtext>123</mtext>
michael@0 112 </mtd>
michael@0 113 <mtd>
michael@0 114 <mtext>123</mtext>
michael@0 115 </mtd>
michael@0 116 <mtd>
michael@0 117 <mtext>123</mtext>
michael@0 118 </mtd>
michael@0 119 </mtr>
michael@0 120 <mtr>
michael@0 121 <mtd>
michael@0 122 <mtext>12345</mtext>
michael@0 123 </mtd>
michael@0 124 <mtd>
michael@0 125 <mtext>12345</mtext>
michael@0 126 </mtd>
michael@0 127 <mtd>
michael@0 128 <mtext>12345</mtext>
michael@0 129 </mtd>
michael@0 130 </mtr>
michael@0 131 <mtr>
michael@0 132 <mtd>
michael@0 133 <mtext>1234567</mtext>
michael@0 134 </mtd>
michael@0 135 <mtd>
michael@0 136 <mtext>1234567</mtext>
michael@0 137 </mtd>
michael@0 138 <mtd>
michael@0 139 <mtext>1234567</mtext>
michael@0 140 </mtd>
michael@0 141 </mtr>
michael@0 142 </mtable>
michael@0 143 </mstyle>
michael@0 144 </math>
michael@0 145 </body>
michael@0 146 </html>

mercurial