OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <html> |
| 3 <head> |
| 4 <style> |
| 5 div { |
| 6 margin: 20px; |
| 7 width: 60px; |
| 8 height: 60px; |
| 9 float: left; |
| 10 } |
| 11 </style> |
| 12 <!-- Repaint test to ensure that setting a blend mode dynamically triggers this
operation |
| 13 only with the contents of the nearest ancestor stacking context. --> |
| 14 <body> |
| 15 <div style="background: green; position: relative; z-index: -1;"> |
| 16 <div id="first" style="mix-blend-mode: multiply; background-color: blue;
"></div> |
| 17 </div> |
| 18 <div style="background: green; position: relative; z-index: -1;"> |
| 19 <div id="second" style="mix-blend-mode: normal; background-color: blue;"
></div> |
| 20 </div> |
| 21 <div style="background: green; position: relative; z-index: -1;"> |
| 22 <div id="third" style="mix-blend-mode: multiply; background-color: blue;
"></div> |
| 23 </div> |
| 24 <div id="fourth" style="background: green; position: relative; z-index: -1;"
> |
| 25 <div style="mix-blend-mode: hue; background-color: blue;"></div> |
| 26 </div> |
| 27 </body> |
OLD | NEW |