Step 7 from https://drafts.csswg.org/resize-observer/#create-and-populate-a-resizeobserverentry says:
If target is not an SVG element ... do these steps:
- Set this.contentRect.top to target.padding top.
- Set this.contentRect.left to target.padding left.
Our implementation is missing that logic.