Status: FAIL | Duration: 26ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/filter-function/filter-function-repeating-radial-gradient.html
<!DOCTYPE html> <html> <title>filter() function with repeating-radial-gradient</title> <link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#FilterCSSImageValue"> <link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> <link rel="match" href="filter-function-repeating-radial-gradient-ref.html"> <style> div { background-image: filter(repeating-radial-gradient(red, red 10px, black 10px, black 20px), invert(1)); width: 400px; height: 400px; color: purple; } </style> <div>This text should be purple on a background with a striped blue gradient.</div> </html>
/css/filter-effects/filter-function/filter-function-repeating-radial-gradient-ref.html
<!DOCTYPE html> <html> <style> #container { position: relative; width: 400px; height: 400px; } #container > div { position: absolute; width: 100%; height: 100%; } #background { background-image: repeating-radial-gradient(red, red 10px, black 10px, black 20px); filter: invert(1); } #foreground { color: purple; } </style> <div id="container"> <div id="background"></div> <div id="foreground">This text should be purple on a background with a striped blue gradient.</div> </div> </html>