OLD | NEW |
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 isolation: isolate; |
12 } | 12 } |
13 .child { | 13 .child { |
14 width: 60px; | 14 width: 60px; |
15 height: 60px; | 15 height: 60px; |
16 background-color: green; | 16 background-color: green; |
17 mix-blend-mode: multiply; | 17 mix-blend-mode: multiply; |
18 } | 18 } |
19 </style> | 19 </style> |
20 <body> | 20 <body> |
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>Test that mix-blend-mode multiply has no effect when applied over a white b
ackground, for both software and hardware paths.</p> |
22 <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> |
23 <div class="parent" style="background-color: red;"> | 23 <div class="parent" style="background-color: red;"> |
24 <div class="child"></div> | 24 <div class="child"></div> |
25 </div> | 25 </div> |
26 <div class="parent"> | 26 <div class="parent"> |
27 <div class="child" style="-webkit-transform: rotateX(0deg);"></div> | 27 <div class="child" style="transform: rotateX(0deg);"></div> |
28 </div> | 28 </div> |
29 <div class="parent"> | 29 <div class="parent"> |
30 <div class="child"></div> | 30 <div class="child"></div> |
31 </div> | 31 </div> |
32 </body> | 32 </body> |
33 </html> | 33 </html> |
OLD | NEW |