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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-overflowing-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: 200px;
14 height: 400px;
15 margin: 10px;
16 left: 200px;
17 top: -300px;
18 outline: 2px solid black;
19 }
20
21 .spacer {
22 height: 350px;
23 width: 20px;
24 background-color: black;
25 }
26
27 .vertical .spacer {
28 height: 20px;
29 width: 350px;
30 }
31
32 .vertical.container {
33 -webkit-writing-mode: vertical-rl;
34 top: 200px;
35 left: 700px;
36 width: 400px;
37 height: 200px;
38 }
39
40
41 .box {
42 width: 150px;
43 height: 150px;
44 }
45
46 .sticky {
47 position: relative;
48 background-color: green;
49 opacity: 0.75;
50 }
51 </style>
52 </head>
53 <body>
54 <div class="container">
55 <div class="spacer"></div>
56 <div class="sticky box"></div>
57 </div>
58
59 <div class="vertical container">
60 <div class="spacer"></div>
61 <div class="sticky box"></div>
62 </div>
63 </body>
64 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-overflowing.html ('k') | LayoutTests/fast/css/sticky/sticky-side-margins.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698