Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-masking/mask-image/mask-image-clip-exclude.html
<!doctype html> <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1697311"> <link rel="author" href="" title="Ana Tudor"> <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> <link rel="author" href="https://mozilla.org" title="Mozilla"> <link rel="match" href="mask-image-clip-exclude-ref.html"> <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2000"> <title>mask-image + mask-clip + mask-composite: exclude on different background boxes</title> <style> div { display: inline-block; width: 100px; height: 100px; padding: 10px; background: linear-gradient(green, green) border-box; mask: linear-gradient(red, red) content-box exclude, linear-gradient(red, red); } </style> <div></div>
/css/css-masking/mask-image/mask-image-clip-exclude-ref.html
<!doctype html> <title>CSS test reference</title> <style> div { width: 100px; height: 100px; border: 10px solid green; } </style> <div></div>