diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/css/filter-effects/filter-function/filter-function-repeating-radial-gradient-ref.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-repeating-radial-gradient-ref.html b/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-repeating-radial-gradient-ref.html new file mode 100644 index 0000000000..b91a8bed2f --- /dev/null +++ b/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-repeating-radial-gradient-ref.html @@ -0,0 +1,26 @@ +<!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> |