mix-blend-mode-computed.html (1356B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Compositing and Blending Level 1: getComputedStyle().mixBlendMode</title> 6 <link rel="help" href="https://drafts.fxtf.org/compositing-1/#propdef-mix-blend-mode"> 7 <meta name="assert" content="mix-blend-mode computed value is as specified."> 8 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/computed-testcommon.js"></script> 12 </head> 13 <body> 14 <div id="target"></div> 15 <script> 16 test_computed_value("mix-blend-mode", "normal"); 17 test_computed_value("mix-blend-mode", "multiply"); 18 test_computed_value("mix-blend-mode", "screen"); 19 test_computed_value("mix-blend-mode", "overlay"); 20 test_computed_value("mix-blend-mode", "darken"); 21 test_computed_value("mix-blend-mode", "lighten"); 22 test_computed_value("mix-blend-mode", "color-dodge"); 23 test_computed_value("mix-blend-mode", "color-burn"); 24 test_computed_value("mix-blend-mode", "hard-light"); 25 test_computed_value("mix-blend-mode", "soft-light"); 26 test_computed_value("mix-blend-mode", "difference"); 27 test_computed_value("mix-blend-mode", "exclusion"); 28 test_computed_value("mix-blend-mode", "hue"); 29 test_computed_value("mix-blend-mode", "saturation"); 30 test_computed_value("mix-blend-mode", "color"); 31 test_computed_value("mix-blend-mode", "luminosity"); 32 </script> 33 </body> 34 </html>