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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-stacking-context-expected.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: Merge, convert pixel to ref tests, and address comments. 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 <style type="text/css">
3 div {
4 height: 100px;
5 width: 100px;
6 }
7 .sticky {
8 background-color: green;
9 position: relative;
10 }
11 .red {
12 background-color: red;
13 margin-top: -100px;
14 }
15 </style>
16 <!--
17 Tests that the sticky node will be popped out into a stacking context on top of the node which follows it. You should
18 see no red boxes as the green sticky div should pop on top of the red div placed under it.
19 -->
20 <div class="sticky"></div>
21 <div class="red"></div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-stacking-context.html ('k') | Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698