The `observeElementSize` utility was brought from the client, where it was originally more complex before `ResizeObserver` was broadly supported. Now it's simple enough that we could just move it to `Excerpt` and test it from there.