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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html

Issue 2369143003: CSS Motion Path: offset-position,offset-path establish stacking context (Closed)
Patch Set: concise Created 4 years, 2 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 5
6 div { 6 div {
7 width: 800px; 7 width: 800px;
8 height: 300px;
8 } 9 }
9 10
10 span { 11 span {
11 position: absolute; 12 position: absolute;
12 width: 120px; 13 width: 120px;
13 line-height: 120px; 14 line-height: 120px;
14 text-align: center; 15 text-align: center;
15 color: yellow; 16 color: yellow;
16 } 17 }
17 18
(...skipping 11 matching lines...) Expand all
29 background: green; 30 background: green;
30 } 31 }
31 32
32 #span3 { 33 #span3 {
33 left: 150px; 34 left: 150px;
34 top: 150px; 35 top: 150px;
35 background: blue; 36 background: blue;
36 } 37 }
37 38
38 #div1 { 39 #div1 {
39 offset-path: path('M400,0'); 40 offset-path: path('M400,150');
40 } 41 }
41 42
42 #div2 { 43 #div2 {
43 offset-path: none; 44 offset-path: none;
44 } 45 }
45 46
46 </style> 47 </style>
47 </head> 48 </head>
48 <body> 49 <body>
49 50
50 <div id="div1"> 51 <div id="div1">
51 <span id="span1">First</span> 52 <span id="span1">First</span>
52 </div> 53 </div>
53 <div id="div2"> 54 <div id="div2">
54 <span id="span2">Second</span> 55 <span id="span2">Second</span>
55 </div> 56 </div>
56 <div id="div3"> 57 <div id="div3">
57 <span id="span3">Third</span> 58 <span id="span3">Third</span>
58 </div> 59 </div>
59 60
60 </body> 61 </body>
61 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698