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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-both-sides-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 overflow: hidden; /* hide scrollbars */
9 }
10
11 .container {
12 position: absolute;
13 width: 2000px;
14 height: 180px;
15 top: 50px;
16 outline: 2px solid black;
17 }
18
19 .vertical.container {
20 top: 0px;
21 left: 50px;
22 width: 180px;
23 height: 2000px;
24 }
25
26 .box {
27 width: 800px;
28 height: 180px;
29 }
30
31 .vertical .box {
32 width: 180px;
33 height: 500px;
34 }
35
36 .sticky {
37 position: relative;
38 left: 50px;
39 right: 50px;
40 background-color: green;
41 }
42
43 .vertical .sticky {
44 left: 0;
45 top: 50px;
46 bottom: 50px;
47 background-color: blue;
48 opacity: 0.75;
49 }
50 </style>
51 </head>
52 <body>
53 <div class="container">
54 <div class="sticky box"></div>
55 </div>
56 <div class="vertical container">
57 <div class="sticky box"></div>
58 </div>
59
60 </body>
61 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-both-sides.html ('k') | LayoutTests/fast/css/sticky/sticky-bottom-overflow-padding.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698