OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .content { | 5 .content { |
6 isolation: isolate; | 6 isolation: isolate; |
7 } | 7 } |
8 .content > div { | 8 .content > div { |
9 float: left; | 9 float: left; |
10 margin: 10px; | 10 margin: 10px; |
11 width: 100px; | 11 width: 100px; |
12 height: 100px; | 12 height: 100px; |
13 overflow: hidden; | 13 overflow: hidden; |
14 } | 14 } |
15 .content > div > div { | 15 .content > div > div { |
16 mix-blend-mode: multiply; | 16 mix-blend-mode: multiply; |
17 width: 300px; | 17 width: 300px; |
18 height: 300px; | 18 height: 300px; |
19 background-color: black; | 19 background-color: black; |
20 -webkit-transform: rotateX(0deg); | 20 transform: rotateX(0deg); |
21 } | 21 } |
22 </style> | 22 </style> |
23 </head> | 23 </head> |
24 <body> | 24 <body> |
25 <p>Test that mix-blend-mode multiply works for layers that are clipped with ov
erflow hidden.</p> | 25 <p>Test that mix-blend-mode multiply works for layers that are clipped with ov
erflow hidden.</p> |
26 <p>This test passes if you can see two black squares.</p> | 26 <p>This test passes if you can see two black squares.</p> |
27 <div class="content"> | 27 <div class="content"> |
28 <div> | 28 <div> |
29 <div></div> | 29 <div></div> |
30 </div> | 30 </div> |
31 <div style="-webkit-transform: rotateX(0deg);"> | 31 <div style="transform: rotateX(0deg);"> |
32 <div></div> | 32 <div></div> |
33 </div> | 33 </div> |
34 </div> | 34 </div> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |