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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-vertically-overconstrained-expected.html

Issue 346603007: Remove position: sticky (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 body {
7 margin: 0;
8 }
9
10 .group {
11 display: inline-block;
12 position: relative;
13 width: 250px;
14 height: 500px;
15 }
16
17 .container {
18 width: 200px;
19 height: 400px;
20 outline: 2px solid black;
21 }
22
23 .box {
24 width: 200px;
25 height: 200px;
26 }
27
28 .sticky {
29 position: absolute;
30 background-color: green;
31 }
32
33 .indicator {
34 position: absolute;
35 top: 0;
36 left: 0;
37 background-color: red;
38 }
39 </style>
40 </head>
41 <body>
42 <div class="group" style="top: -100px;">
43 <div class="indicator box" style="top: 200px;"></div>
44 <div class="container">
45 <div class="sticky box" style="top: 200px;"></div>
46 </div>
47 </div>
48
49 <div class="group" style="top: 0">
50 <div class="indicator box" style="top: 100px;"></div>
51 <div class="container">
52 <div class="sticky box" style="top: 100px;"></div>
53 </div>
54 </div>
55
56 <div class="group" style="top: 100px">
57 <div class="indicator box" style="top: 0;"></div>
58 <div class="container">
59 <div class="sticky box" style="top: 0;"></div>
60 </div>
61 </div>
62 <div style="position: absolute; top: 520px;">
63 This test checks that sticky positioned table theads are contained by thei r table.
64 There should be no red.
65 </div>
66 </body>
67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698