layout/reftests/mathml/displaystyle-4.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 html>
michael@0 2 <html class="reftest-wait">
michael@0 3 <head>
michael@0 4 <title>displaystyle</title>
michael@0 5 <meta charset="utf-8"/>
michael@0 6 <script type="text/javascript">
michael@0 7 function doTest() {
michael@0 8 document.getElementById('mathOperator').
michael@0 9 setAttribute('mathbackground', 'red');
michael@0 10 document.documentElement.removeAttribute("class");
michael@0 11 }
michael@0 12 window.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 13 </script>
michael@0 14 </head>
michael@0 15 <body>
michael@0 16
michael@0 17 <!-- Test dynamic change (see bug 832800) -->
michael@0 18 <math>
michael@0 19 <mstyle displaystyle="true">
michael@0 20 <mfrac>
michael@0 21 <mrow>
michael@0 22 <mi>X</mi>
michael@0 23 <mo id="mathOperator">+</mo>
michael@0 24 <mfrac>
michael@0 25 <mrow><mi>X</mi></mrow>
michael@0 26 <mrow><mi>X</mi></mrow>
michael@0 27 </mfrac>
michael@0 28 </mrow>
michael@0 29 <mrow>
michael@0 30 <mi>X</mi>
michael@0 31 </mrow>
michael@0 32 </mfrac>
michael@0 33 </mstyle>
michael@0 34 </math>
michael@0 35
michael@0 36 </body>
michael@0 37 </html>

mercurial