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

> Can we pre-snap the position _and_ the size?

How would this work?

> Alternatively, what about getDeviceRects?

Do you mean a new method exposed to script that returns these rects? The problem is that the canvas doesn't know when to ask, since it doesn't known when it might change due to layout invalidations.

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

Received on Tuesday, 21 May 2019 23:08:43 UTC