Make updateResizeObservations more aligned with specification.
Pull request: https://github.com/WebKit/WebKit/pull/16346
<rdar://problem/113687414>
Committed 267126@main (474ff0404732): <https://commits.webkit.org/267126@main> Reviewed commits have been landed. Closing PR #16346 and removing active labels.