layout/reftests/mathml/table-width-1.xhtml

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.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2   <head>
     3     <title>Check that the content box is large enough</title>
     4     <style type="text/css">
     5       html { background-color: grey; }
     6       td { border: 1px solid white;
     7            padding-top: 0;
     8            padding-bottom: 0;
     9            padding-right: 1px;
    10            padding-left: 1px;
    11            background-color: black;
    12            color: black; }
    13     </style>
    14   </head>
    15 <body>
    16   <table>
    17     <td>
    18       <math xmlns="http://www.w3.org/1998/Math/MathML">
    19 	<mrow>
    20 	  <mn>60</mn>
    21 	  <mo>&#x2062;</mo>
    22 	  <msqrt>
    23 	    <mn>2</mn>
    24 	    <mo>+</mo>
    25 	    <mn>3</mn>
    26 	    <mo>-</mo>
    27 	    <mo>5</mo>
    28 	  </msqrt>
    29 	</mrow>
    30       </math>
    31     </td>
    32   </table>
    33   <table>
    34     <td>
    35       <math xmlns="http://www.w3.org/1998/Math/MathML">
    36 	<mroot>
    37 	  <mfrac>
    38 	    <mn>8</mn>
    39 	    <mn>90</mn>
    40 	  </mfrac>
    41 	  <mn>61</mn>
    42 	</mroot>
    43       </math>
    44     </td>
    45   </table>
    46   <table>
    47     <td>
    48       <math xmlns="http://www.w3.org/1998/Math/MathML">
    49 	<mfenced>
    50 	  <mtable>
    51 	    <mtr><mtd><mn>0</mn></mtd></mtr>
    52 	    <mtr><mtd><mn>80</mn></mtd></mtr>
    53 	  </mtable>
    54 	</mfenced>
    55       </math>
    56     </td>
    57   </table>
    58   <table>
    59     <td>
    60       <math xmlns="http://www.w3.org/1998/Math/MathML">
    61 	<mfrac bevelled="true">
    62 	  <mn>82</mn>
    63 	  <mn>28</mn>
    64 	</mfrac>
    65       </math>
    66     </td>
    67   </table>
    68   <table>
    69     <td>
    70       <math xmlns="http://www.w3.org/1998/Math/MathML">
    71 	<mrow>
    72           <mo>|</mo>
    73 	  <mo>{</mo>
    74 	  <mtable>
    75 	    <mtr><mtd><mn>0</mn></mtd></mtr>
    76 	    <mtr><mtd><mn>5</mn></mtd></mtr>
    77 	    <mtr><mtd><mn>9</mn></mtd></mtr>
    78 	  </mtable>
    79 	  <mo>}</mo>
    80           <mo>|</mo>
    81 	</mrow>
    82       </math>
    83     </td>
    84   </table>
    85   <table>
    86     <td>
    87       <math xmlns="http://www.w3.org/1998/Math/MathML">
    88         <mfrac bevelled="true" linethickness="30px">
    89             <mn>1473903823894702</mn>
    90             <mn>2808472638402743</mn>
    91         </mfrac>
    92       </math>
    93     </td>
    94   </table>
    95 </body>
    96 </html>

mercurial