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

Side by Side Diff: LayoutTests/compositing/reflections/reflection-opacity.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 6
7 div { 7 div {
8 -webkit-box-sizing: border-box; 8 -webkit-box-sizing: border-box;
9 } 9 }
10 .reflected { 10 .reflected {
11 position: relative; 11 position: relative;
12 width: 150px; 12 width: 150px;
13 height: 100px; 13 height: 100px;
14 background-color: green; 14 background-color: green;
15 opacity: 0.5; 15 opacity: 0.5;
16 -webkit-box-reflect: below -50px; 16 -webkit-box-reflect: below -50px;
17 } 17 }
18 18
19 .composited { 19 .composited {
20 -webkit-transform: translateZ(0); 20 transform: translateZ(0);
21 } 21 }
22 22
23 </style> 23 </style>
24 </head> 24 </head>
25 25
26 <p>Opacity should be applied after reflection, so you should see a green recta ngle below. The overlap between the original and reflection should not be visibl e.</p> 26 <p>Opacity should be applied after reflection, so you should see a green recta ngle below. The overlap between the original and reflection should not be visibl e.</p>
27 <div class="reflected composited"> 27 <div class="reflected composited">
28 </div> 28 </div>
29 29
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698