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

Side by Side Diff: LayoutTests/compositing/masks/multiple-masks.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>Multiple mask images</title> 5 <title>Multiple mask images</title>
6 <style type="text/css" media="screen"> 6 <style type="text/css" media="screen">
7 #container { 7 #container {
8 height: 560px; 8 height: 560px;
9 width: 260px; 9 width: 260px;
10 border: 1px solid black; 10 border: 1px solid black;
11 display: inline-block; 11 display: inline-block;
12 } 12 }
13 .box { 13 .box {
14 position: relative; 14 position: relative;
15 width: 200px; 15 width: 200px;
16 height: 200px; 16 height: 200px;
17 margin: 30px; 17 margin: 30px;
18 border: 10px solid black; 18 border: 10px solid black;
19 background-color:rgba(100, 100, 255, 0.8); 19 background-color:rgba(100, 100, 255, 0.8);
20 -webkit-box-sizing: border-box; 20 -webkit-box-sizing: border-box;
21 -webkit-box-shadow: black 0 4px 4px; 21 -webkit-box-shadow: black 0 4px 4px;
22 } 22 }
23 23
24 .compositing { 24 .compositing {
25 -webkit-transform: translateZ(0); 25 transform: translateZ(0);
26 } 26 }
27 27
28 #container .masked { 28 #container .masked {
29 -webkit-mask-image: url(../resources/alpha-gradient.png), url(../resourc es/alpha-gradient.png); 29 -webkit-mask-image: url(../resources/alpha-gradient.png), url(../resourc es/alpha-gradient.png);
30 -webkit-mask-repeat: no-repeat; 30 -webkit-mask-repeat: no-repeat;
31 -webkit-mask-position: 0 0, 100px 100px; 31 -webkit-mask-position: 0 0, 100px 100px;
32 -webkit-mask-size: 50%; 32 -webkit-mask-size: 50%;
33 } 33 }
34 34
35 </style> 35 </style>
36 </head> 36 </head>
37 <body> 37 <body>
38 38
39 <p>Testing masks on compositing layers. Left and right columns should look the same.</p> 39 <p>Testing masks on compositing layers. Left and right columns should look the same.</p>
40 <div id="container"> 40 <div id="container">
41 <div class="masked box"></div> 41 <div class="masked box"></div>
42 </div> 42 </div>
43 43
44 <div id="container"> 44 <div id="container">
45 <div class="compositing masked box"></div> 45 <div class="compositing masked box"></div>
46 </div> 46 </div>
47 47
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/masks/masked-ancestor.html ('k') | LayoutTests/compositing/masks/simple-composited-mask.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698