summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/inner-table-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/position-sticky/inner-table-1.html')
-rw-r--r--layout/reftests/position-sticky/inner-table-1.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/layout/reftests/position-sticky/inner-table-1.html b/layout/reftests/position-sticky/inner-table-1.html
new file mode 100644
index 000000000..212e658fd
--- /dev/null
+++ b/layout/reftests/position-sticky/inner-table-1.html
@@ -0,0 +1,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>