https://drafts.csswg.org/cssom-view-1/
Though I find disparate mentions of scroll-padding/scroll-margin values being used in scroll position decision making for scrollIntoView and general "jump links", I see implementations of css-scroll-snap not going so far as enabling the properties effects outside of snapports.
In hopes that we can get rid of hacks like...
.target-sentinel-for-reference { position: relative; top: -3rem; }
.target-sentinel-for-section-title { position: relative; top: -6rem; }
In relation to articles like...
I think these properties should be referenced/highlighted in cssom-view?
Edited - Blink has now enabled these properties for use outside of snapports, though only in the block (or maybe just vertical) axis.
https://drafts.csswg.org/cssom-view-1/
Though I find disparate mentions of
scroll-padding/scroll-marginvalues being used in scroll position decision making forscrollIntoViewand general "jump links", I see implementations of css-scroll-snap not going so far as enabling the properties effects outside of snapports.In hopes that we can get rid of hacks like...
In relation to articles like...
I think these properties should be referenced/highlighted in cssom-view?
Edited - Blink has now enabled these properties for use outside of snapports, though only in the block (or maybe just vertical) axis.