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 } | 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> |
OLD | NEW |