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

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: Comments and merge. 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 <style type="text/css">
2 div {
3 height: 100px;
4 width: 100px;
5 }
6 .spacer {
7 background-color: red;
8 }
9 .sticky {
10 background-color: green;
11 position: sticky;
12 }
13 .absoffset {
14 background-color: green;
15 position: absolute;
16 top: -100px;
17 }
18 </style>
19 <div class="spacer"></div>
20 <div class="sticky">
21 <!--
22 Tests that the absolute positioned child is positioned relative to the stick y container. You should see only a
23 green box as this will cover up the red box above the sticky div.
Rick Byers 2015/07/03 01:43:55 Prefer ref tests over pixel tests: https://www.chr
flackr 2015/07/14 15:24:35 Done. Even though a layout test would have worked
24 -->
25 <div class="absoffset"></div>
26 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698