- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Fri, 23 Oct 2020 09:28:27 +0000
- To: public-fxtf-archive@w3.org
faceless2 has just created a new issue for https://github.com/w3c/fxtf-drafts: == [filter-effects-1] [css-masking-1] clip then filter, or filter then clip? == When clip _and_ filter are set on the same element, do we filter then clip the filtered result, or clip the input then filter it? As best as I can tell this isn't currently defined. ```xml <svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"> <defs> <filter id="shift"> <feOffset dx="50"/> </filter> <clipPath id="clip"> <rect x="100" y="50" width="100" height="100"/> </clipPath> </defs> <rect x="100" y="50" width="100" height="100" fill="red"/> <rect x="50" y="50" width="200" height="100" fill="green" filter="url(#shift)" clip-path="url(#clip)"/> </svg> ``` (see https://output.jsbin.com/veniyap) Gecko clips then filters, so we see half a red rectangle. Webkit filters then clips, so we see a completely green rectangle. Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/412 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 23 October 2020 09:28:29 UTC