Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-masking/mask-image/mask-image-svg-gradient-zoomed.html
<!DOCTYPE html> <title>linear-gradient() mask-image on <rect> in zoomed SVG</title> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <link rel="help" href="https://drafts.fxtf.org/css-masking/#svg-masks"> <style> svg { zoom: 2; } </style> <p>Test passes if there is a filled green square.</p> <svg> <rect width="50" height="100" fill="green" style="mask-image: linear-gradient(black 50px, transparent 50px)"/> </svg>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>