Re: [fxtf-drafts] [filter-effects] What should happen if filter and background-attachment fixed; applied to the same element?

For SVG, I had always assumed that `overflow: hidden` was included in the "clipping" step of the rendering model. But based on tests, neither Edge nor Firefox implement it that way. Chrome treats it that way for SVG layout, but not for CSS box layout.  For nested SVG, Safari clips after filtering, same as Chrome. But for inline SVG (aka, an `<svg>` with CSS box layout), it looks like Safari is clipping overflow twice, once before and once after applying the filter (but I haven't explored the results carefully).

Test case: https://codepen.io/AmeliaBR/pen/aEroyJ/

The SVG layout behavior could be spec'd separately from CSS box layout (which has the complication ofbackgrounds and `overflow: scroll`), but given that current behavior is inconsistent, it might be useful to converge on a universal rule.

Either way, some clearer language is required here.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/238#issuecomment-359985150 using your GitHub account

Received on Wednesday, 24 January 2018 01:02:03 UTC