W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

Re: [csswg-drafts] [css-contain] Should there be a new syntax for establishing queryable containers? (#6174)

From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 May 2021 17:47:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-844329948-1621446451-sysbot+gh@w3.org>
So it turns out [content-visibility](https://drafts.csswg.org/css-contain-2/#content-visibility) already has the behavior of "turning on" various types of containment behavior from outside the `contain` property. 

It doesn't change the computed value of `contain`, only the [used/applied value](https://github.com/w3c/csswg-drafts/issues/5913#issuecomment-836692271) – so it's not really one property setting the other, but two properties that can trigger similar behavior. We also do this with things like `block formatting context` - which can now be set explicitly with contain, but is also required & applied by other properties.

-- 
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6174#issuecomment-844329948 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 19 May 2021 17:47:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC