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

WebKit's primary objection to this API is that in WebKit, device-pixel snapping is a _paint-time_ operation and the snapped rectangle width is a function of the rectangle origin. So to provide the correct information to ResizeObserver (which fires before paint), we'd have to do a fake paint just to get the right device size, which we don't want to have to do.

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

Received on Tuesday, 21 May 2019 03:09:30 UTC