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