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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-as-positioning-container.html

Issue 1212893005: Add position: sticky as supported position value when CSSStickyPosition is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css">
5 div {
6 height: 100px;
7 width: 100px;
8 }
9 .spacer {
10 background-color: red;
11 }
12 .sticky {
13 background-color: green;
14 position: sticky;
15 }
16 .absoffset {
17 background-color: green;
18 position: absolute;
19 top: -100px;
20 }
21 </style>
22 </head>
23 <body>
24 <div class="spacer"></div>
25 <div class="sticky">
26 <div class="absoffset"></div>
27 </div>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698