[fxtf-drafts] [filter-effects-2] Clarify the behavior on SVG elements (#405)

wangxianzhu has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [filter-effects-2] Clarify the behavior on SVG elements ==
https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty says backdrop-filter applies to some container elements and all graphics elements, but https://drafts.fxtf.org/filter-effects-2/#backdrop-filter-operation seems to only specify the behavior for HTML elements as in "border box of element B".

For SVG graphics elements, I think we should use the shape as the clip, for example:
  <svg width="100" height="100">
    <circle cx="50" cy="50" r="50" style="backdrop-filter: invert(100%)">
  </svg>
and the backdrop-filter will apply to a circle on the backdrop.

For SVG containers, I think we should use the bounding box as the clip.

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/405 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 8 September 2020 17:01:49 UTC