layout/reftests/position-sticky/inner-table-1.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>
     2 <!-- Any copyright is dedicated to the Public Domain.
     3    - http://creativecommons.org/publicdomain/zero/1.0/ -->
     4 <html>
     5   <head>
     6     <title>CSS Test: Sticky Positioning - inner table elements</title>
     7     <link rel="author" title="Corey Ford" href="mailto:corey@coreyford.name">
     8     <link rel="match" href="inner-table-1-ref.html">
     9     <meta name="assert" content="Sticky positioning on inner table elements should have no effect (until bug 35168 is fixed)">
    10     <style>
    11       .sticky {
    12         position: sticky;
    13         top: 1000px;
    14       }
    15     </style>
    16   </head>
    17   <body>
    18     <table>
    19       <thead class="sticky">
    20         <tr>
    21           <td>a</td>
    22         </tr>
    23       </thead>
    24       <tr class="sticky">
    25         <td>b</td>
    26       </tr>
    27       <tr>
    28         <td class="sticky">c</td>
    29       </tr>
    30       <tr>
    31         <td>d</td>
    32       </tr>
    33     </table>
    34   </body>
    35 </html>

mercurial