-
Notifications
You must be signed in to change notification settings - Fork 764
Closed
Labels
css-contain-2Current WorkCurrent Work
Description
The spec says that content-visibility can "turn on" 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
vmpstr
Metadata
Metadata
Assignees
Labels
css-contain-2Current WorkCurrent Work