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

Side by Side Diff: LayoutTests/css3/compositing/mix-blend-mode-multiply.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: removed a failing reftest dependent on render-compositor bindings 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
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .parent { 5 .parent {
6 background-color: white; 6 background-color: white;
7 width: 60px; 7 width: 60px;
8 height: 60px; 8 height: 60px;
9 float: left; 9 float: left;
10 margin-left: 10px; 10 margin-left: 10px;
11 isolation: isolate;
11 } 12 }
12 .child { 13 .child {
13 width: 60px; 14 width: 60px;
14 height: 60px; 15 height: 60px;
15 background-color: green; 16 background-color: green;
16 mix-blend-mode: multiply; 17 mix-blend-mode: multiply;
17 } 18 }
18 </style> 19 </style>
19 <body> 20 <body>
20 <p>Test that mix-blend-mode multiply has no effect when applied over a white b ackground, for both software and hardware paths.</p> 21 <p>Test that mix-blend-mode multiply has no effect when applied over a white b ackground, for both software and hardware paths.</p>
21 <p>This test passes if there are one black and two green boxes.</p> 22 <p>This test passes if there are one black and two green boxes.</p>
22 <div class="parent" style="background-color: red;"> 23 <div class="parent" style="background-color: red;">
23 <div class="child"></div> 24 <div class="child"></div>
24 </div> 25 </div>
25 <div class="parent"> 26 <div class="parent">
26 <div class="child" style="-webkit-transform: rotateX(0deg);"></div> 27 <div class="child" style="-webkit-transform: rotateX(0deg);"></div>
27 </div> 28 </div>
28 <div class="parent"> 29 <div class="parent">
29 <div class="child"></div> 30 <div class="child"></div>
30 </div> 31 </div>
31 </body> 32 </body>
32 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698