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._
I resort to these type of hacks all the time, but alot of authors don't, and you end up scrolling past a heading usually on pages with a position fixed header which can be pretty awkward especially if you clicked a url fragment so you have to scroll up again just to read the heading.
@fantasai Again, if you think that #3721 makes it now clear enough in css-scroll-snap (regardless of cssom-view), for vendors implementing that spec, to enable these properties effects outside of snapports, then this issue can be closed. I just want it clear so that there is no confusion when filing bugs against the different vendors for these effects.
Most helpful comment
I resort to these type of hacks all the time, but alot of authors don't, and you end up scrolling past a heading usually on pages with a position fixed header which can be pretty awkward especially if you clicked a url fragment so you have to scroll up again just to read the heading.