Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
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> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>displaystyle</title> |
michael@0 | 5 | <meta charset="utf-8"/> |
michael@0 | 6 | </head> |
michael@0 | 7 | <body> |
michael@0 | 8 | |
michael@0 | 9 | <!-- Test displaystyle on mstyle --> |
michael@0 | 10 | <math> |
michael@0 | 11 | <mstyle displaystyle="true"> |
michael@0 | 12 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 13 | </mstyle> |
michael@0 | 14 | <mstyle displaystyle="false"> |
michael@0 | 15 | <msub><mo>O</mo><mo>O</mo></munder> |
michael@0 | 16 | </mstyle> |
michael@0 | 17 | </math> |
michael@0 | 18 | |
michael@0 | 19 | <!-- The mfrac element sets displaystyle to "false", or if it was already |
michael@0 | 20 | false increments scriptlevel by 1, within numerator and denominator. |
michael@0 | 21 | --> |
michael@0 | 22 | <math> |
michael@0 | 23 | <mstyle displaystyle="true"> |
michael@0 | 24 | <mfrac> |
michael@0 | 25 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 26 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 27 | </mfrac> |
michael@0 | 28 | </mstyle> |
michael@0 | 29 | </math> |
michael@0 | 30 | |
michael@0 | 31 | <!-- The mroot element increments scriptlevel by 2, and sets |
michael@0 | 32 | displaystyle to "false", within index, but leaves both attributes |
michael@0 | 33 | unchanged within base. |
michael@0 | 34 | The msqrt element leaves both attributes unchanged within its |
michael@0 | 35 | argument. --> |
michael@0 | 36 | <math> |
michael@0 | 37 | <mstyle displaystyle="true"> |
michael@0 | 38 | <mroot> |
michael@0 | 39 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 40 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 41 | </mroot> |
michael@0 | 42 | <msqrt> |
michael@0 | 43 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 44 | </msqrt> |
michael@0 | 45 | </mstyle> |
michael@0 | 46 | </math> |
michael@0 | 47 | |
michael@0 | 48 | <!-- |
michael@0 | 49 | The msub element [...] increments scriptlevel by 1, and sets displaystyle to |
michael@0 | 50 | "false", within subscript, but leaves both attributes unchanged within base. |
michael@0 | 51 | |
michael@0 | 52 | The msup element [...] increments scriptlevel by 1, and sets displaystyle to |
michael@0 | 53 | "false", within superscript, but leaves both attributes unchanged within |
michael@0 | 54 | base. |
michael@0 | 55 | |
michael@0 | 56 | The msubsup element [...] increments scriptlevel by 1, and sets displaystyle |
michael@0 | 57 | to "false", within subscript and superscript, but leaves both attributes |
michael@0 | 58 | unchanged within base. |
michael@0 | 59 | |
michael@0 | 60 | The mmultiscripts element increments scriptlevel by 1, and sets displaystyle |
michael@0 | 61 | to "false", within each of its arguments except base, but leaves both |
michael@0 | 62 | attributes unchanged within base. |
michael@0 | 63 | --> |
michael@0 | 64 | <math> |
michael@0 | 65 | <mstyle displaystyle="true"> |
michael@0 | 66 | <msub> |
michael@0 | 67 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 68 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 69 | </msub> |
michael@0 | 70 | <msup> |
michael@0 | 71 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 72 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 73 | </msup> |
michael@0 | 74 | <msubsup> |
michael@0 | 75 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 76 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 77 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 78 | </msubsup> |
michael@0 | 79 | <mmultiscripts> |
michael@0 | 80 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 81 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 82 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 83 | <mprescripts/> |
michael@0 | 84 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 85 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 86 | </mmultiscripts> |
michael@0 | 87 | </mstyle> |
michael@0 | 88 | </math> |
michael@0 | 89 | |
michael@0 | 90 | <!-- |
michael@0 | 91 | The munder element [...] always sets displaystyle to "false" within the |
michael@0 | 92 | underscript, but increments scriptlevel by 1 only when accentunder is |
michael@0 | 93 | "false". Within base, it always leaves both attributes unchanged. |
michael@0 | 94 | |
michael@0 | 95 | The mover element [...] always sets displaystyle to "false" within |
michael@0 | 96 | overscript, but increments scriptlevel by 1 only when accent is "false". |
michael@0 | 97 | Within base, it always leaves both attributes unchanged. |
michael@0 | 98 | |
michael@0 | 99 | The munderover [..] always sets displaystyle to "false" within underscript |
michael@0 | 100 | and overscript, but increments scriptlevel by 1 only when accentunder or |
michael@0 | 101 | accent, respectively, are "false". Within base, it always leaves both |
michael@0 | 102 | attributes unchanged. |
michael@0 | 103 | --> |
michael@0 | 104 | <math> |
michael@0 | 105 | <mstyle displaystyle="true"> |
michael@0 | 106 | <munder> |
michael@0 | 107 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 108 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 109 | </munder> |
michael@0 | 110 | <mover> |
michael@0 | 111 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 112 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 113 | </mover> |
michael@0 | 114 | <munderover> |
michael@0 | 115 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 116 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 117 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 118 | </munderover> |
michael@0 | 119 | </mstyle> |
michael@0 | 120 | </math> |
michael@0 | 121 | |
michael@0 | 122 | <!-- |
michael@0 | 123 | The displaystyle attribute is allowed on the mtable element to set the |
michael@0 | 124 | inherited value of the attribute. If the attribute is not present, the |
michael@0 | 125 | mtable element sets displaystyle to "false" within the table elements. |
michael@0 | 126 | --> |
michael@0 | 127 | <math> |
michael@0 | 128 | <mstyle displaystyle="false"> |
michael@0 | 129 | <mtable displaystyle="true"> |
michael@0 | 130 | <mtr> |
michael@0 | 131 | <mtd> |
michael@0 | 132 | <munder><mo>O</mo><mo>O</mo></munder> |
michael@0 | 133 | </mtd> |
michael@0 | 134 | </mtr> |
michael@0 | 135 | </mtable> |
michael@0 | 136 | </mstyle> |
michael@0 | 137 | <mstyle displaystyle="true"> |
michael@0 | 138 | <mtable> |
michael@0 | 139 | <mtr> |
michael@0 | 140 | <mtd> |
michael@0 | 141 | <msub><mo>O</mo><mo>O</mo></msub> |
michael@0 | 142 | </mtd> |
michael@0 | 143 | </mtr> |
michael@0 | 144 | </mtable> |
michael@0 | 145 | </mstyle> |
michael@0 | 146 | </math> |
michael@0 | 147 | |
michael@0 | 148 | </body> |
michael@0 | 149 | </html> |