layout/reftests/mathml/mtable-rowlines-single-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 rowlines</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
michael@0 11 // Table 1 setup
michael@0 12 table1.setAttribute("rowlines", "solid");
michael@0 13 // Table 2 setup
michael@0 14 table2.setAttribute("rowlines", "dashed");
michael@0 15
michael@0 16 document.documentElement.removeAttribute("class");
michael@0 17 }
michael@0 18 window.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 19 </script>
michael@0 20 </head>
michael@0 21 <body>
michael@0 22 <b>rowlines="solid"</b> <br />
michael@0 23 <math>
michael@0 24 <mstyle>
michael@0 25 <mtable id="table1">
michael@0 26 <mtr>
michael@0 27 <mtd>
michael@0 28 <mtext>a</mtext>
michael@0 29 </mtd>
michael@0 30 <mtd>
michael@0 31 <mtext>b</mtext>
michael@0 32 </mtd>
michael@0 33 <mtd>
michael@0 34 <mtext>c</mtext>
michael@0 35 </mtd>
michael@0 36 </mtr>
michael@0 37 <mtr>
michael@0 38 <mtd>
michael@0 39 <mtext>d</mtext>
michael@0 40 </mtd>
michael@0 41
michael@0 42 <mtd>
michael@0 43 <mtext>e</mtext>
michael@0 44 </mtd>
michael@0 45 <mtd>
michael@0 46 <mtext>f</mtext>
michael@0 47 </mtd>
michael@0 48 </mtr>
michael@0 49 <mtr>
michael@0 50 <mtd>
michael@0 51 <mtext>g</mtext>
michael@0 52 </mtd>
michael@0 53 <mtd>
michael@0 54 <mtext>h</mtext>
michael@0 55 </mtd>
michael@0 56 <mtd>
michael@0 57 <mtext>i</mtext>
michael@0 58 </mtd>
michael@0 59 </mtr>
michael@0 60 </mtable>
michael@0 61 </mstyle>
michael@0 62 </math> <br />
michael@0 63 <b>rowlines="dashed"</b> <br />
michael@0 64 <math>
michael@0 65 <mstyle>
michael@0 66 <mtable id="table2">
michael@0 67 <mtr>
michael@0 68 <mtd>
michael@0 69 <mtext>a</mtext>
michael@0 70 </mtd>
michael@0 71 <mtd>
michael@0 72 <mtext>b</mtext>
michael@0 73 </mtd>
michael@0 74 <mtd>
michael@0 75 <mtext>c</mtext>
michael@0 76 </mtd>
michael@0 77 </mtr>
michael@0 78 <mtr>
michael@0 79 <mtd>
michael@0 80 <mtext>d</mtext>
michael@0 81 </mtd>
michael@0 82
michael@0 83 <mtd>
michael@0 84 <mtext>e</mtext>
michael@0 85 </mtd>
michael@0 86 <mtd>
michael@0 87 <mtext>f</mtext>
michael@0 88 </mtd>
michael@0 89 </mtr>
michael@0 90 <mtr>
michael@0 91 <mtd>
michael@0 92 <mtext>g</mtext>
michael@0 93 </mtd>
michael@0 94 <mtd>
michael@0 95 <mtext>h</mtext>
michael@0 96 </mtd>
michael@0 97 <mtd>
michael@0 98 <mtext>i</mtext>
michael@0 99 </mtd>
michael@0 100 </mtr>
michael@0 101 </mtable>
michael@0 102 </mstyle>
michael@0 103 </math> <br />
michael@0 104 </body>
michael@0 105 </html>

mercurial