Re: [csswg-drafts] [resize‑observer] Why does `ResizeObserver` default to `"content‑box"`? (#4739)

At this point we can probably chalk this up to another legacy mistake - the default was chosen for compatibility with the legacy ResizeObserverEntry's contentRect property, which originally was the only observable box/size/rect.

Basically callers that don't pass a box may be relying on observing the content-box and we need to preserve this behavior.

-- 
GitHub Notification of comment by dlibby-
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4739#issuecomment-592087130 using your GitHub account

Received on Thursday, 27 February 2020 17:42:27 UTC