- From: Mason Freed via GitHub <sysbot+gh@w3.org>
- Date: Mon, 22 Mar 2021 16:13:25 +0000
- To: public-fxtf-archive@w3.org
> As I understand it, @ell1e refers to this sentence in the ["Filtering and Clipping" section](https://drafts.fxtf.org/filter-effects-2/#backdrop-filter-operation): > > > A computed value of other than none results in the creation of both a stacking context [CSS21] and a Containing Block for absolute and fixed position descendants, unless the element it applies to is a document root element in the current browsing context. > > So in https://jsfiddle.net/SebastianZ/jp5ts2mv/ the "Headline" text is positioned differently when `backdrop-filter` is applied. If it is defined, `<section>` becomes a containing block and the `<h1>` is positioned relatively to it, without it, the `<h1>` is positioned absolutely. > > To authors this is an unexpected and undesired behavior. And it's unclear why this behavior is copied over from the `filter` property. For the `filter` property it might still be clear because it applies the filters to the element itself, though `backdrop-filter` filters what's behind the element, so this shouldn't have an effect on the layout of the element's children. Ahh, I see, the question is about the forced containing block. That is there for the same reasons as for `filter`, and it is more fundamental than just implementation convenience. @chrishtr can probably explain more succinctly than I can. -- GitHub Notification of comment by mfreed7 Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/408#issuecomment-804195809 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 22 March 2021 16:13:27 UTC