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

Side by Side Diff: LayoutTests/compositing/masks/mask-of-clipped-layer.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 type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 .hidesOverflow { 5 .hidesOverflow {
6 background-color: blue; 6 background-color: blue;
7 width: 200px; 7 width: 200px;
8 height: 200px; 8 height: 200px;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
11 11
12 .shouldNotBeVisible { 12 .shouldNotBeVisible {
13 background-color: red; 13 background-color: red;
14 width: 140px; 14 width: 140px;
15 height: 140px; 15 height: 140px;
16 } 16 }
17 17
18 .composited { 18 .composited {
19 -webkit-transform: translatez(0); 19 transform: translatez(0);
20 } 20 }
21 21
22 .masked { 22 .masked {
23 -webkit-mask-box-image: url(../resources/alpha-blocks.png); 23 -webkit-mask-box-image: url(../resources/alpha-blocks.png);
24 background-color: lime; 24 background-color: lime;
25 width: 300px; 25 width: 300px;
26 height: 300px; 26 height: 300px;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
30 <body> 30 <body>
31 <!-- 31 <!--
32 https://bugs.webkit.org/show_bug.cgi?id=93558 32 https://bugs.webkit.org/show_bug.cgi?id=93558
33 33
34 Scenario: The alpha-blocks mask has a checkerboard pattern of opaque/transparen t 34 Scenario: The alpha-blocks mask has a checkerboard pattern of opaque/transparen t
35 sections. The top-left section of the mask should be opaque, so the red div sho uld not be 35 sections. The top-left section of the mask should be opaque, so the red div sho uld not be
36 visible underneath the mask. However, in chromium there was a bug where the mas k was 36 visible underneath the mask. However, in chromium there was a bug where the mas k was
37 accidentally being resized to the clip area, incorrectly exposing the red div. 37 accidentally being resized to the clip area, incorrectly exposing the red div.
38 --> 38 -->
39 <div class="hidesOverflow"> 39 <div class="hidesOverflow">
40 <div class="shouldNotBeVisible"> 40 <div class="shouldNotBeVisible">
41 <div class="composited masked"> 41 <div class="composited masked">
42 </div> 42 </div>
43 </div> 43 </div>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/masks/mask-layer-size.html ('k') | LayoutTests/compositing/masks/masked-ancestor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698