Re: [csswg-drafts] [resize-observer] device-pixel-border-box size (#3554)

It seems to me that ResizeObserver is more or less polyfillable given some reliable getBoundingDeviceRect(). (which I've previously largely implemented on top of getBoundingClientRect and devicePixelRatio)

In particular, there doesn't seem to be a huge difference logically between using ResizeObserver and calling getBoundingClientRect at the top of RAF, given that to be useful the same frame, ResizeObserver must fire /before/ RAF.

Is there a logical difference I'm not seeing?

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

Received on Friday, 19 July 2019 00:39:49 UTC