W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > December 2017

Re: [fxtf-drafts] filter should be defined to establish a containing block for fixed and absolutely positioned elements

From: Markus Stange via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Dec 2017 21:33:00 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-349781751-1512595979-sysbot+gh@w3.org>
I see, so the filter should be applied to the canvas, not to the viewport. Applying it on the canvas means that:

 1. Scrolling the document will scroll the filter. This only makes a difference for filters that have position-dependent rendering, like `<feFlood flood-color="lime" x="100" y="100" width="100" height="100"/>`.
 2. The scrollbars for the root scroll frame are not filtered. They exist outside the filter.
 3. The root scroll frame's "scrollport clip" (i.e. the viewport minus scrollbars) applies to the filtered results, not to the contents of the filter.

I'm happy with this proposal. @chrishtr, what do you think?

-- 
GitHub Notification of comment by mstange
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/11#issuecomment-349781751 using your GitHub account
Received on Wednesday, 6 December 2017 21:33:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:45:59 UTC