layout/reftests/position-sticky/inner-table-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/position-sticky/inner-table-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!-- Any copyright is dedicated to the Public Domain.
     1.6 +   - http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.7 +<html>
     1.8 +  <head>
     1.9 +    <title>CSS Test: Sticky Positioning - inner table elements</title>
    1.10 +    <link rel="author" title="Corey Ford" href="mailto:corey@coreyford.name">
    1.11 +    <link rel="match" href="inner-table-1-ref.html">
    1.12 +    <meta name="assert" content="Sticky positioning on inner table elements should have no effect (until bug 35168 is fixed)">
    1.13 +    <style>
    1.14 +      .sticky {
    1.15 +        position: sticky;
    1.16 +        top: 1000px;
    1.17 +      }
    1.18 +    </style>
    1.19 +  </head>
    1.20 +  <body>
    1.21 +    <table>
    1.22 +      <thead class="sticky">
    1.23 +        <tr>
    1.24 +          <td>a</td>
    1.25 +        </tr>
    1.26 +      </thead>
    1.27 +      <tr class="sticky">
    1.28 +        <td>b</td>
    1.29 +      </tr>
    1.30 +      <tr>
    1.31 +        <td class="sticky">c</td>
    1.32 +      </tr>
    1.33 +      <tr>
    1.34 +        <td>d</td>
    1.35 +      </tr>
    1.36 +    </table>
    1.37 +  </body>
    1.38 +</html>

mercurial