Loading...
.section {
content-visibility: auto;
}.section {
content-visibility: auto;
contain-intrinsic-size: auto 500px;
}contain-intrinsic-size gives skipped sections an estimated height, so the scrollbar stays stable.
contain-intrinsic-size was set.contain-intrinsic-size, like auto 500px, so the scrollbar doesn't jump.Yes. With 'auto' the content stays in the DOM, find-in-page and the accessibility tree.
Both hide content, but 'hidden' keeps the rendering state, so showing it again is faster.
The browser remembers the last rendered size and uses it instead of the estimate once the section has been shown.