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

[csswg-drafts] [css-contain-2] Allow scroll position to be restored when element becomes un-skipped with content-visibility (#5869)

From: vmpstr via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Jan 2021 20:06:03 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-785405263-1610568361-sysbot+gh@w3.org>
vmpstr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-2] Allow scroll position to be restored when element becomes un-skipped with content-visibility ==
This depends on #5868. If we agree that [skipped](https://www.w3.org/TR/css-contain-2/#skips-its-contents) contents should not contribute to the overflow (i.e. that the scroll thumb does not indicate size of content), then it would still be nice if we allow for that scroll position to be restored when the element is un-hidden.

The current spec compliant behavior (if #5868 is resolved not to include contents in overflow) would cause the scroll offset to be essentially reset when the element is hidden via content-visibility and then shown again. This is not as ergonomic for developers as it could be.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 January 2021 20:06:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC