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

Side by Side Diff: LayoutTests/fast/css/sticky/sticky-stacking-context-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 .container {
11 width: 200px;
12 height: 400px;
13 outline: 2px solid black;
14 }
15
16 .box {
17 width: 200px;
18 height: 200px;
19 }
20
21 .sticky {
22 position: sticky;
23 }
24
25 .child {
26 position: relative;
27 background-color: green;
28 z-index: 2;
29 }
30 </style>
31 </head>
32 <body>
33 <div class="group">
34 <div class="container">
35 <div class="sticky box">
36 <div class="child box"></div>
37 </div>
38 </div>
39 </div>
40
41 </body>
42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-stacking-context.html ('k') | LayoutTests/fast/css/sticky/sticky-table-col-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698