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