- From: vmpstr via GitHub <sysbot+gh@w3.org>
- Date: Fri, 17 Jun 2022 15:36:31 +0000
- To: public-css-archive@w3.org
vmpstr has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-contain-3] Proposal to allow developer to specify content-visibility: auto margin. == I'd like to propose to either extend the [content-visibility: auto](https://www.w3.org/TR/css-contain-2/#relevant-to-the-user) syntax, or add a new property (tentatively `content-visibility-margin`) that allows the developer to specify the margin to use when determining whether `content-visibility: auto` should render its contents. The reason is that the user-agent default is sometimes inappropriate depending on the site. Some sites don't have a lot of content and would like to reduce the margin to improve loading speed. Other sites have large scrollers and can afford a larger margin to reduce the risk of users scrolling into unrendered content. Yet another use-case is to be able to adjust the margin to benefit from a quicker load with a small margin, and then increasing the margin to allow for more content to render ahead of time. Explainer: https://github.com/vmpstr/web-proposals/blob/main/explainers/cv-auto-custom-margin.md Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7383 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 17 June 2022 15:36:33 UTC