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

Side by Side Diff: ManualTests/canvas-mask-redraw.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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 3
4 <html lang="en"> 4 <html lang="en">
5 <head> 5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>Canvas Mask</title> 7 <title>Canvas Mask</title>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 #canvas1 { 9 #canvas1 {
10 height: 300px; 10 height: 300px;
11 width: 400px; 11 width: 400px;
12 border: 1px solid black; 12 border: 1px solid black;
13 } 13 }
14 14
15 .masked { 15 .masked {
16 /* -webkit-transform: rotate(10deg);*/ 16 /* transform: rotate(10deg);*/
17 -webkit-mask: -webkit-canvas(canvas1); 17 -webkit-mask: -webkit-canvas(canvas1);
18 } 18 }
19 </style> 19 </style>
20 <script type="text/javascript" charset="utf-8"> 20 <script type="text/javascript" charset="utf-8">
21 21
22 var gPageWidth = 320; 22 var gPageWidth = 320;
23 var gPageHeight = 200; 23 var gPageHeight = 200;
24 24
25 function drawPageShadow(shadowWidth) 25 function drawPageShadow(shadowWidth)
26 { 26 {
(...skipping 29 matching lines...) Expand all
56 <img src="http://www.google.com/intl/en_ALL/images/logo.gif" width="320" heig ht="200" alt="Clown Fish" class="masked" 56 <img src="http://www.google.com/intl/en_ALL/images/logo.gif" width="320" heig ht="200" alt="Clown Fish" class="masked"
57 onmousemove="redrawCanvas(event)"> 57 onmousemove="redrawCanvas(event)">
58 58
59 <h2>Div with mask</h2> 59 <h2>Div with mask</h2>
60 <div class="masked" style="width: 640px" onmousemove="redrawCanvas(event)"> 60 <div class="masked" style="width: 640px" onmousemove="redrawCanvas(event)">
61 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod te mpor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Du is aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fu giat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in cul pa qui officia deserunt mollit anim id est laborum. 61 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod te mpor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Du is aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fu giat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in cul pa qui officia deserunt mollit anim id est laborum.
62 </div> 62 </div>
63 63
64 </body> 64 </body>
65 </html> 65 </html>
OLDNEW
« no previous file with comments | « ManualTests/autocorrection/autocorrection-in-iframe.html ('k') | ManualTests/compositing/assert-on-tab-switch.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698