diff options
Diffstat (limited to 'testing/web-platform/tests/css/filter-effects/tainting-feflood-002.html')
-rw-r--r-- | testing/web-platform/tests/css/filter-effects/tainting-feflood-002.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/filter-effects/tainting-feflood-002.html b/testing/web-platform/tests/css/filter-effects/tainting-feflood-002.html new file mode 100644 index 0000000000..79ea8dac52 --- /dev/null +++ b/testing/web-platform/tests/css/filter-effects/tainting-feflood-002.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<title>feFlood: 'currentcolor' flood-color taints the primitive</title> +<link rel="help" href="https://drafts.fxtf.org/filter-effects/#tainted-filter-primitives"> +<link rel="help" href="https://drafts.fxtf.org/filter-effects/#fedisplacemnentmap-restrictions"> +<link rel="match" href="reference/green-100x100.html"> +<svg> + <filter id="flood_currentcolor" color-interpolation-filters="sRGB"> + <feFlood flood-color="currentcolor" style="color: rgb(0%, 100%, 50%)"/> + <feDisplacementMap in="SourceGraphic" + xChannelSelector="G" yChannelSelector="B" + scale="100"/> + </filter> + <rect width="100" height="100" fill="red"/> + <rect width="100" height="100" fill="green" + filter="url(#flood_currentcolor)"/> +</svg> |