mix-blend-mode-svg-rectangle.html (1197B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Test: mix-blend-mode for a simple SVG element - rectangle</title> 6 <link rel="author" title="Mirela Budăeș" href="mailto:mbudaes@adobe.com"> 7 <link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com"> 8 <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com"> 9 <link rel="help" href="https://drafts.fxtf.org/compositing-1/#csscompositingrules_SVG"> 10 <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode"> 11 <meta name="flags" content="svg"> 12 <link rel="match" href="reference/mix-blend-mode-svg-rectangle-ref.html"> 13 </head> 14 <body> 15 <!-- The white background is to prevent alpha-blending differences in Chrome 16 for the antialiased pixels of the text. --> 17 <p style="background: white">There should be no red rectangle on the screen. <br> 18 Test passes if you see a black rectangle.</p> 19 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" > 20 <rect x="0" y="0" width="100" height="100" fill="aqua"/> 21 <rect x="0" y="0" width="100" height="100" fill="red" style="mix-blend-mode: multiply"/> 22 </svg> 23 </body> 24 </html>