Status: PASS | Duration: 10ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-masking/mask-image/mask-under-border-radius.html
<!DOCTYPE html> <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image"> <link rel="help" href="https://crbug.com/368562242"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <p>Test passes if there is a filled green square.</p> <html style="overflow: hidden"> <div style="margin: 0 -20px; overflow: hidden; border-radius: 5px"> <div style="overflow: auto; scrollbar-width: none; mask-image: linear-gradient(to right, transparent 20px, red 20px 120px, transparent 120px 100%)"> <div style="margin: -20px; height: 140px; background: green"> <div style="position: absolute"></div> </div> </div> </div> </div>
/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>