An element uses `content-visibility: auto` and is currently off-screen (its rendering is being skipped). JavaScript then reads `element.scrollHeight`. What actually happens inside the engine?
el.style.contentVisibility = 'auto';
const h = el.scrollHeight; // off-screen subtree