tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

disabled-scriptlevel-1-ref.xhtml (3925B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2  <head>
      3    <title>scriptlevel</title>
      4    <meta charset="utf-8"/>
      5    <style>
      6      h2 {
      7        text-align:center;
      8      }
      9    </style>
     10  </head>
     11  <body>
     12 
     13    <!-- Test scriptlevel on mstyle -->
     14    <randomelement>
     15      <mstyle scriptsizemultiplier="2">
     16        <mtext>O</mtext>
     17        <mstyle scriptlevel="1"><mtext>O</mtext></mstyle>
     18      </mstyle>
     19    </randomelement>
     20 
     21    <!-- The mfrac element sets displaystyle to "false", or if it was already
     22         false increments scriptlevel by 1, within numerator and denominator.
     23      -->
     24    <randomelement>
     25      <mstyle scriptsizemultiplier="2">
     26        <mstyle displaystyle="false">
     27          <mfrac>
     28            <mtext>O</mtext>
     29            <mtext>O</mtext>
     30          </mfrac>
     31        </mstyle>
     32        <mstyle displaystyle="true">
     33          <mfrac>
     34            <mtext>O</mtext>
     35            <mtext>O</mtext>
     36          </mfrac>
     37        </mstyle>
     38      </mstyle>
     39    </randomelement>
     40 
     41    <!--    The mroot element increments scriptlevel by 2, and sets
     42            displaystyle to "false", within index, but leaves both attributes
     43            unchanged within base.
     44            The msqrt element leaves both attributes unchanged within its
     45            argument. -->
     46    <randomelement>
     47      <mstyle scriptsizemultiplier="2">
     48        <mroot>
     49          <mtext>O</mtext>
     50          <mtext>O</mtext>
     51        </mroot>
     52        <msqrt>
     53          <mtext>O</mtext>
     54        </msqrt>
     55      </mstyle>
     56    </randomelement>
     57 
     58 <!--
     59    The msub element [...] increments scriptlevel by 1, and sets displaystyle to
     60   "false", within subscript, but leaves both attributes unchanged within base.
     61 
     62   The msup element [...] increments scriptlevel by 1, and sets displaystyle to
     63   "false", within superscript, but leaves both attributes unchanged within
     64   base.
     65 
     66   The msubsup element [...] increments scriptlevel by 1, and sets displaystyle
     67   to "false", within subscript and superscript, but leaves both attributes
     68   unchanged within base.
     69 
     70   The mmultiscripts element increments scriptlevel by 1, and sets displaystyle
     71   to "false", within each of its arguments except base, but leaves both
     72   attributes unchanged within base.
     73   -->
     74    <randomelement>
     75      <mstyle scriptsizemultiplier="2">
     76        <msub>
     77          <mtext>O</mtext>
     78          <mtext>O</mtext>
     79        </msub>
     80        <msup>
     81          <mtext>O</mtext>
     82          <mtext>O</mtext>
     83        </msup>
     84        <msubsup>
     85          <mtext>O</mtext>
     86          <mtext>O</mtext>
     87          <mtext>O</mtext>
     88        </msubsup>
     89        <mmultiscripts>
     90          <mtext>O</mtext>
     91          <mtext>O</mtext>
     92          <mtext>O</mtext>
     93          <mprescripts/>
     94          <mtext>O</mtext>
     95          <mtext>O</mtext>
     96        </mmultiscripts>
     97      </mstyle>
     98    </randomelement>
     99 
    100 <!--
    101   The munder element [...] always sets displaystyle to "false" within the
    102   underscript, but increments scriptlevel by 1 only when accentunder is
    103   "false". Within base, it always leaves both attributes unchanged.
    104 
    105   The mover element [...] always sets displaystyle to "false" within
    106   overscript, but increments scriptlevel by 1 only when accent is "false".
    107   Within base, it always leaves both attributes unchanged.
    108 
    109   The munderover [..] always sets displaystyle to "false" within underscript
    110   and overscript, but increments scriptlevel by 1 only when accentunder or
    111   accent, respectively, are "false". Within base, it always leaves both
    112   attributes unchanged.
    113 -->
    114    <randomelement>
    115      <mstyle scriptsizemultiplier="2">
    116        <munder>
    117          <mtext>O</mtext>
    118          <mtext>O</mtext>
    119        </munder>
    120        <mover>
    121          <mtext>O</mtext>
    122          <mtext>O</mtext>
    123        </mover>
    124        <munderover>
    125          <mtext>O</mtext>
    126          <mtext>O</mtext>
    127          <mtext>O</mtext>
    128        </munderover>
    129      </mstyle>
    130    </randomelement>
    131 
    132  </body>
    133 </html>