mix-blend-mode-paragraph-background-image.html (1323B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test: Paragraph element with mix-blend-mode over parent with background image.</title> 5 <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com"> 6 <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode"> 7 <meta name="assert" content="Test checks that test a paragraph element blends with the parent element having background image."> 8 <meta name="flags" content="svg"> 9 <meta name="fuzzy" content="0-8;0-974"> 10 <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com"> 11 <link rel="reviewer" title="Mirela Budaes" href="mailto:mbudaes@adobe.com"> 12 <link rel="match" href="reference/mix-blend-mode-paragraph-background-image-ref.html"> 13 <style type="text/css"> 14 div { 15 width: 100px; 16 height: 100px; 17 background-image: url('support/yellow_square.svg'); 18 } 19 20 #blender { 21 mix-blend-mode: difference; 22 color: #F00; 23 } 24 </style> 25 </head> 26 <body> 27 <p>Test passes if the paragraph text is drawn with green.</p> 28 <div> 29 <p id="blender">This should be drawn with green.</p> 30 </div> 31 </body> 32 </html>