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

Side by Side Diff: LayoutTests/fast/css/sticky/replaced-sticky-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 background-color: silver;
30 position: relative;
31 top: 100px;
32 }
33
34 .indicator {
35 display: none;
36 position: absolute;
37 top: 250px;
38 left: 50px;
39 background-color: red;
40 }
41 </style>
42 </head>
43 <body>
44 <div class="group" style="top: -100px">
45 <div class="indicator box"></div>
46 <div class="container">
47 <img src="../resources/greenbox.png" class="sticky box" style="top: 200px;">
48 </div>
49 </div>
50
51 <div class="group" style="top: 0">
52 <div class="indicator box"></div>
53 <div class="container">
54 <img src="../resources/greenbox.png" class="sticky box" style="top: 100px;">
55 </div>
56 </div>
57
58 </body>
59 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/sticky/replaced-sticky.html ('k') | LayoutTests/fast/css/sticky/resources/parsing-position-sticky.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698