The programmatic scrolling triggered by layout shifts targets the direct children of the .content container element, thus there's instances where a layout shift is still present, although keeping what would be a visually relevant node as the anchor of the behavior. It is a compromise to avoid walking large nested element trees in large documents.
Mitigates the layout shift pointed in https://github.com/bep/docuapi/issues/95
The programmatic scrolling triggered by layout shifts targets the direct children of the
.content
container element, thus there's instances where a layout shift is still present, although keeping what would be a visually relevant node as the anchor of the behavior. It is a compromise to avoid walking large nested element trees in large documents.