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

Side by Side Diff: LayoutTests/compositing/images/direct-image-background-color.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> 1 <!DOCTYPE>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <title>Directly composited images with background color</title> 5 <title>Directly composited images with background color</title>
6 <style type="text/css" media="screen"> 6 <style type="text/css" media="screen">
7 body { 7 body {
8 outline: 10px solid transparent; /* affects layer sizes */ 8 outline: 10px solid transparent; /* affects layer sizes */
9 } 9 }
10 10
11 img { 11 img {
12 display: block; 12 display: block;
13 margin: 20px; 13 margin: 20px;
14 height: 180px; 14 height: 180px;
15 width: 260px; 15 width: 260px;
16 padding: 10px; 16 padding: 10px;
17 background-color: rgba(0, 0, 128, 0.5); 17 background-color: rgba(0, 0, 128, 0.5);
18 } 18 }
19 19
20 .composited { 20 .composited {
21 -webkit-transform: translateZ(0); 21 transform: translateZ(0);
22 } 22 }
23 </style> 23 </style>
24 </head> 24 </head>
25 <body> 25 <body>
26 26
27 <img src="../resources/alpha-gradient-small.png"> 27 <img src="../resources/alpha-gradient-small.png">
28 <img class="composited" src="../resources/alpha-gradient-small.png"> 28 <img class="composited" src="../resources/alpha-gradient-small.png">
29 29
30 <p>Top and bottom should look the same.</p> 30 <p>Top and bottom should look the same.</p>
31 31
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/images/content-image-change.html ('k') | LayoutTests/compositing/images/direct-image-clip-path.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698