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

Side by Side Diff: LayoutTests/css3/compositing/mix-blend-mode-has-ancestor-clipping-layer.html

Issue 23511004: mix-blend-mode implementation for accelerated layers - blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <style>
5 .content > div {
6 float: left;
7 margin: 10px;
8 }
9 .clipper {
10 width: 100px;
11 height: 100px;
12 overflow: hidden;
13 }
14 .blended {
15 mix-blend-mode: multiply;
16 }
17 .accelerated {
18 -webkit-transform: rotateX(0deg);
19 }
20 </style>
21 </head>
22 <body>
23 <p>Test that mix-blend-mode multiply works for layers that are clipped with ov erflow hidden.</p>
24 <p>This test passes if you can see two black squares.</p>
25 <div class="content">
26 <div class="clipper" style="background-color: green">
27 <div class="accelerated blended" style="width: 300px; height: 300px; backg round-color: red;"></div>
28 </div>
29 <div class="accelerated clipper" style="background-color: green">
30 <div class="accelerated blended" style="width: 300px; height: 300px; backg round-color: red;"></div>
31 </div>
32 </div>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698