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

36 lines
880 B
HTML

<!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>