W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > April 2018

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

From: vmpstr via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Apr 2018 20:37:24 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-384780933-1524775043-sysbot+gh@w3.org>
Just as clarification, our interpretation of the latest draft (including #263 ) is the following:
- Non-none filter value establishes a containing block for elements.
- The exception to this is the document element. In other words if the document element is filtered, the filter is applied after scroll and clip but before viewport scrollbars. This logic applies to all frames, including iframes.

This means that:
1. body is not treated any differently from any other non-document-element element.*
2. fixed position children of filtered document element do not scroll (ie, the same behavior as if the document element was not filtered).

* - @chrishtr and I discussed this and we believe that this is good behavior, which avoids a quirk in which document element "steals" body's filter.

-- 
GitHub Notification of comment by vmpstr
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/11#issuecomment-384780933 using your GitHub account
Received on Thursday, 26 April 2018 20:37:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:22 UTC