layout/reftests/table-background/backgr_position-table-row.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.

     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
     2 <head>
     3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     4 <title>Background on 'table-row'</title>
     5 <link rel="next" href="backgr_position-table-column.html" title="Background Position: Background on 'table-column'">
     6 <link rel="prev" href="backgr_position-table-column-group.html" title="Background Position: Background on 'table-column-group'">
     7 <link rel="contents" href="./backgr_index.html" title="Table of Contents">
     8 <link rel="stylesheet" type="text/css" href="common.css">
     9 <style type="text/css">
    11   .th-row-1 {background: black url(edge.gif) bottom right no-repeat;}
    12   .tb-row-1 {background: black url(edge.gif) bottom left   no-repeat;}
    13   .tb-row-2 {background: black url(edge.gif) top    left no-repeat;}
    15 </style>
    16 </head>
    17 <body>
    18 <h1>CSS2 Table Backgrounds Test Suite</h1>
    20 <h2>Part B: Background Position</h2>
    22     <h3>Background on 'table-row'</h3>
    24     <p>Three rows are styled.</p>
    25     <p>The first row should have three aqua stripes just inside the
    26      bottom and right border edges of its last cell. The bottom three
    27      stripes should continue across the row, appearing along the border
    28      edge of each cell.</p>
    29     <p>The second row should have three vertical aqua stripes just
    30      inside the left border edge of the top half of the first cell (Cell
    31      E.) Three horizontal aqua stripes should cut across that cell and
    32      align along the bottom border edge of the last three cells.</p>
    33     <p>The third row should have three horizontal aqua stripes along the
    34      top border edge of the last three cells in the row.</p>
    35     <dl>
    36        <dt>next
    37           <dd><a href="backgr_position-table-column.html">Background Position: Background on 'table-column'</a>
    38        <dt>previous
    39           <dd><a href="backgr_position-table-column-group.html">Background Position: Background on 'table-column-group'</a>
    40        <dt>contents
    41           <dd><a href="./backgr_index.html">Table of Contents</a>
    42     </dl>
    44     <table class="separate">
    45     <caption>With 'border-collapse: separate'</caption>
    46     <colgroup class="colgroup-A">
    47       <col class="col-1">
    48       <col class="col-2">
    49       <col class="col-3">
    50     </colgroup>
    51     <colgroup class="colgroup-B">
    52       <col class="col-4">
    53     </colgroup>
    54     <thead>
    55       <tr class="th-row-1">
    56         <th class="a">TH A</th>
    57         <th class="b">TH B</th>
    58         <th class="c">TH C</th>
    59         <th class="d">TH D</th>
    60       </tr>
    61     </thead>
    62     <tfoot>
    63       <tr class="tf-row-1">
    64         <td class="m" colspan=2>TD M</td>
    66         <td class="o">TD O</td>
    67         <td class="p">TD P</td>
    68     </tfoot>
    69     <tbody>
    70       <tr class="tb-row-1">
    71         <td class="e" rowspan=2>TD E</td>
    72         <td class="f">TD F</td>
    73         <td class="g">TD G</td>
    74         <td class="h">TD H</td>
    75       </tr>
    76       <tr class="tb-row-2">
    78         <td class="j">TD J</td>
    79         <td class="k">TD K</td>
    80         <td class="l">TD L</td>
    81       </tr>
    82     </tbody>
    83     </table>
    85     <table class="collapse">
    86     <caption>With 'border-collapse: collapse'</caption>
    87     <colgroup class="colgroup-A">
    88       <col class="col-1">
    89       <col class="col-2">
    90       <col class="col-3">
    91     </colgroup>
    92     <colgroup class="colgroup-B">
    93       <col class="col-4">
    94     </colgroup>
    95     <thead>
    96       <tr class="th-row-1">
    97         <th class="a">TH A</th>
    98         <th class="b">TH B</th>
    99         <th class="c">TH C</th>
   100         <th class="d">TH D</th>
   101       </tr>
   102     </thead>
   103     <tfoot>
   104       <tr class="tf-row-1">
   105         <td class="m" colspan=2>TD M</td>
   107         <td class="o">TD O</td>
   108         <td class="p">TD P</td>
   109     </tfoot>
   110     <tbody>
   111       <tr class="tb-row-1">
   112         <td class="e" rowspan=2>TD E</td>
   113         <td class="f">TD F</td>
   114         <td class="g">TD G</td>
   115         <td class="h">TD H</td>
   116       </tr>
   117       <tr class="tb-row-2">
   119         <td class="j">TD J</td>
   120         <td class="k">TD K</td>
   121         <td class="l">TD L</td>
   122       </tr>
   123     </tbody>
   124     </table>
   125 <div class="validity">
   126   <a href="http://validator.w3.org/check/referer"><img
   127      src="valid-html401.png" height="31" width="88"
   128      alt="Valid HTML 4.01!"></a>
   129 </div>
   130 <address>
   131   CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
   132 </address>
   134 </body>
   135 </html>

mercurial