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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-stacking-context.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 .sticky {
7 background-color: green;
8 position: sticky;
9 }
10 .red {
11 background-color: red;
12 margin-top: -100px;
13 }
14 </style>
15 <!--
16 Tests that the sticky node will be popped out into a stacking context on top of the node which follows it. You should
17 see no red boxes as the green sticky div should pop on top of the red div placed under it.
18 -->
19 <div class="sticky"></div>
20 <div class="red"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698