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

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

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 <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
16 -webkit-gradient(linear, left top, left bottom, from(transparent), to( white)); 16 -webkit-gradient(linear, left top, left bottom, from(transparent), to( white));
17 } 17 }
18 18
19 .composited { 19 .composited {
20 -webkit-transform: translateZ(0); 20 transform: translateZ(0);
21 } 21 }
22 </style> 22 </style>
23 </head> 23 </head>
24 <body> 24 <body>
25 25
26 <p>Reflection should be masked with gradient.</p> 26 <p>Reflection should be masked with gradient.</p>
27 <div class="reflected composited box"> 27 <div class="reflected composited box">
28 </div> 28 </div>
29 29
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698