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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/reflections/masked-reflection-on-composited.html

Issue 2746583003: Send deprecation messages for prefixed gradients now that it's possible. (Closed)
Patch Set: recommit Created 3 years, 7 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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 .box { 6 .box {
7 height: 100px; 7 height: 100px;
8 width: 100px; 8 width: 100px;
9 margin: 20px; 9 margin: 20px;
10 margin-bottom: 120px; 10 margin-bottom: 120px;
11 background-color: green; 11 background-color: green;
12 } 12 }
13 13
14 .reflected { 14 .reflected {
15 -webkit-box-reflect: below 2px 15 -webkit-box-reflect: below 2px linear-gradient(transparent, white);
16 -webkit-gradient(linear, left top, left bottom, from(transparent), to( white));
17 } 16 }
18 17
19 .composited { 18 .composited {
20 transform: translateZ(0); 19 transform: translateZ(0);
21 } 20 }
22 </style> 21 </style>
23 </head> 22 </head>
24 <body> 23 <body>
25 24
26 <p>Reflection should be masked with gradient.</p> 25 <p>Reflection should be masked with gradient.</p>
27 <div class="reflected composited box"> 26 <div class="reflected composited box">
28 </div> 27 </div>
29 28
30 </body> 29 </body>
31 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698