Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Consider will-change: content-visibility as alternative to renderpriority. #211

Closed
flackr opened this issue Sep 22, 2021 · 1 comment
Closed

Comments

@flackr
Copy link

flackr commented Sep 22, 2021

The explainer for renderpriority suggests that the use case is to prepare content which was hidden to be displayed. I'd like to suggest that we consider using will-change: content-visibility as a hint for this. will-change is an already established rendering hint which is currently used to tell the UA to prepare for elements to have mutations to transforms, opacity, etc, so it seems reasonable that will-change: content-visibility could be used as a hint for the UA to prepare for changes to content-visibility (i.e. update the rendering of the element).

@vmpstr
Copy link
Collaborator

vmpstr commented Sep 24, 2021

Let's continue the discussion in #200

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants