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

Side by Side Diff: LayoutTests/compositing/masks/layer-mask-placement.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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .box { 5 .box {
6 position: absolute; 6 position: absolute;
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 margin: 10px; 9 margin: 10px;
10 background-color: green; 10 background-color: green;
11 } 11 }
12 12
13 .test { 13 .test {
14 -webkit-mask-image: -webkit-canvas(viewport-mask); 14 -webkit-mask-image: -webkit-canvas(viewport-mask);
15 -webkit-mask-position: 50% 50%; 15 -webkit-mask-position: 50% 50%;
16 } 16 }
17 17
18 .composited { 18 .composited {
19 -webkit-transform: translateZ(0); 19 transform: translateZ(0);
20 } 20 }
21 21
22 .indicator { 22 .indicator {
23 background-color: red; 23 background-color: red;
24 } 24 }
25 25
26 .outlined { 26 .outlined {
27 outline: 40px solid transparent; 27 outline: 40px solid transparent;
28 } 28 }
29 </style> 29 </style>
(...skipping 17 matching lines...) Expand all
47 <!-- You should see two green boxes side by side, and no red. --> 47 <!-- You should see two green boxes side by side, and no red. -->
48 <div class="indicator box" style="left: 10px;"></div> 48 <div class="indicator box" style="left: 10px;"></div>
49 <div class="indicator box" style="left: 120px;"></div> 49 <div class="indicator box" style="left: 120px;"></div>
50 50
51 <div class="test box" style="left: 10px;"></div> 51 <div class="test box" style="left: 10px;"></div>
52 <div class="composited test box" style="left: 120px"></div> 52 <div class="composited test box" style="left: 120px"></div>
53 53
54 <div class="outlined"></div> 54 <div class="outlined"></div>
55 </body> 55 </body>
56 </html> 56 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/masks/direct-image-mask.html ('k') | LayoutTests/compositing/masks/mask-layer-size.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698