Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/sticky/nested/sticky-nested-table-expected.html

Issue 2636253002: Handle nested position:sticky elements (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 body {
7 margin: 0;
8 }
9
10 table {
11 background: red;
12 border-collapse: collapse;
13 }
14
15 td, th {
16 height: 50px;
17 width: 50px;
18 padding: 0;
19 }
20
21 th {
22 position: absolute;
23 top: 25px;
24 background: green;
25 }
26
27 .container {
28 overflow: hidden;
29 width: 100px;
30 height: 200px;
31 outline: 2px solid black;
32 }
33 </style>
34 </head>
35 <body>
36 <div class="container">
37 <table>
38 <thead class="sticky">
39 <tr class="sticky">
40 <th class="sticky"></th>
41 </tr>
42 </thead>
43 <tbody>
44 <tr><td></td></tr>
45 <tr><td></td></tr>
46 <tr><td></td></tr>
47 <tr><td></td></tr>
48 <tr><td></td></tr>
49 <tr><td></td></tr>
50 <tr><td></td></tr>
51 <tr><td></td></tr>
52 <tr><td></td></tr>
53 </tbody>
54 </table>
55 </div>
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698