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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/motion-path/path-will-change-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 * {
7 margin: 0;
8 padding: 0;
9 }
10
6 div { 11 div {
7 width: 800px; 12 width: 800px;
13 height: 300px;
8 } 14 }
9 15
10 span { 16 span {
11 position: absolute; 17 position: absolute;
12 width: 120px; 18 width: 120px;
13 line-height: 120px; 19 line-height: 120px;
14 text-align: center; 20 text-align: center;
15 color: yellow; 21 color: yellow;
16 } 22 }
17 23
(...skipping 11 matching lines...) Expand all
29 background: green; 35 background: green;
30 } 36 }
31 37
32 #span3 { 38 #span3 {
33 left: 150px; 39 left: 150px;
34 top: 150px; 40 top: 150px;
35 background: blue; 41 background: blue;
36 } 42 }
37 43
38 #div1 { 44 #div1 {
39 offset-path: path('M400,0'); 45 will-change: offset-path;
40 }
41
42 #div2 {
43 offset-path: none;
44 } 46 }
45 47
46 </style> 48 </style>
47 </head> 49 </head>
48 <body> 50 <body>
49 51
50 <div id="div1"> 52 <div id="div1">
51 <span id="span1">First</span> 53 <span id="span1">First</span>
52 </div> 54 </div>
53 <div id="div2"> 55 <div id="div2">
54 <span id="span2">Second</span> 56 <span id="span2">Second</span>
55 </div> 57 </div>
56 <div id="div3"> 58 <div id="div3">
57 <span id="span3">Third</span> 59 <span id="span3">Third</span>
58 </div> 60 </div>
59 61
60 </body> 62 </body>
61 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698