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

Side by Side Diff: LayoutTests/compositing/masks/masked-ancestor.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>Masks with composited children</title> 5 <title>Masks with composited children</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 .masked { 28 .masked {
29 -webkit-mask-image: url(../resources/alpha-gradient.png); 29 -webkit-mask-image: url(../resources/alpha-gradient.png);
30 -webkit-mask-repeat: repeat-x; 30 -webkit-mask-repeat: repeat-x;
31 } 31 }
32 32
33 </style> 33 </style>
34 </head> 34 </head>
35 <body> 35 <body>
36 36
37 <p>Testing masks on compositing layers. Left and right columns should look the same.</p> 37 <p>Testing masks on compositing layers. Left and right columns should look the same.</p>
38 <div id="container" class="masked"> 38 <div id="container" class="masked">
39 <div class="box"></div> 39 <div class="box"></div>
40 </div> 40 </div>
41 41
42 <div id="container" class="masked"> 42 <div id="container" class="masked">
43 <div class="compositing box"></div> 43 <div class="compositing box"></div>
44 </div> 44 </div>
45 45
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/masks/mask-of-clipped-layer.html ('k') | LayoutTests/compositing/masks/multiple-masks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698