[csswg-drafts] [css-contain-2] Used value of contain (#6246)

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-2] Used value of contain ==
The spec says that `content-visibility` can ["turn on"](https://drafts.csswg.org/css-contain-2/#skips-its-contents) layout/style/etc containment, but it's not clear what effect (if any) this has on the computed/used value of `contain`.

I think the most logical thing would be to specify that if `content-visibility` is such-and-such, then the _used_ value of `contain` becomes this-and-that, and specify that the resolved value is the used value.

I bring this up because the Blink implementation of `content-visibility` modifies the _computed_ value of `contain`, which seems heavy-handed. Introducing computed-value time dependencies between properties comes at a price. We should avoid doing so unless it's crucial.

cc @vmpstr 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6246 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 27 April 2021 09:47:54 UTC