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

Side by Side Diff: LayoutTests/compositing/images/direct-svg-image.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 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 } 8 }
9 9
10 img { 10 img {
11 position: relative; 11 position: relative;
12 display: block; 12 display: block;
13 width: 100px; 13 width: 100px;
14 height: 100px; 14 height: 100px;
15 } 15 }
16 16
17 .composited { 17 .composited {
18 -webkit-transform: translateZ(0); 18 transform: translateZ(0);
19 } 19 }
20 20
21 #indicator { 21 #indicator {
22 position: absolute; 22 position: absolute;
23 top: 0; 23 top: 0;
24 background-color: red; 24 background-color: red;
25 width: 100px; 25 width: 100px;
26 height: 200px; 26 height: 200px;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
30 <body> 30 <body>
31 31
32 <div id="indicator"></div> 32 <div id="indicator"></div>
33 33
34 <img src="../../svg/as-image/resources/green-fixed-size-rect.svg"> 34 <img src="../../svg/as-image/resources/green-fixed-size-rect.svg">
35 <img class="composited" src="../../svg/as-image/resources/green-fixed-size-r ect.svg"> 35 <img class="composited" src="../../svg/as-image/resources/green-fixed-size-r ect.svg">
36 36
37 <!-- You should see no red above --> 37 <!-- You should see no red above -->
38 38
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/images/direct-pdf-image.html ('k') | LayoutTests/compositing/images/truncated-direct-png-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698