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

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