mix-blend-mode-paragraph.html (1172B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test: Paragraph element with mix-blend-mode.</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."> 8 <meta name="fuzzy" content="0-8;0-974"> 9 <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com"> 10 <link rel="reviewer" title="Mirela Budaes" href="mailto:mbudaes@adobe.com"> 11 <link rel="match" href="reference/mix-blend-mode-paragraph-ref.html"> 12 <style type="text/css"> 13 div { 14 width: 100px; 15 height: 100px; 16 background: #FF0; 17 } 18 19 #blender { 20 mix-blend-mode: difference; 21 color: #F00; 22 } 23 </style> 24 </head> 25 <body> 26 <p>Test passes if the paragraph text is drawn with green.</p> 27 <div> 28 <p id="blender">This should be drawn with green.</p> 29 </div> 30 </body> 31 </html>