W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > July 2020

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

From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
Date: Sun, 05 Jul 2020 05:09:42 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-653843236-1593925781-sysbot+gh@w3.org>
[The spec says](https://drafts.fxtf.org/filter-effects-1/#FilterProperty) that a filter on the HTML element does not break fixed position elements. In particular:

```A value other than none for the filter property results in the creation of a containing block for absolute and fixed positioned descendants unless the element it applies to is a document root element in the current browsing context.```

This behavior is implemented in at least Chromium and works correctly on this page (just tried it). This exception for the root element was made for the use case you described about fixed-position elements.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/11#issuecomment-653843236 using your GitHub account
Received on Sunday, 5 July 2020 05:09:43 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 5 July 2020 05:09:44 UTC