It's worth noting that this solution will not work for anything using the relatively new `position: sticky`
sticky has been around since at least 2014
Also "relatively new" is still accurate in web terms, which has specifications dating to the 90s.
>Also "relatively new" is still accurate in web terms, which has specifications dating to the 90s.
The majority of web features are relatively new under this definition.
I think the two of us just disagree on how spans of time should be labelled.