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

It will be provided as a box option. The summary above didn't completely capture the discussion.

To summarize the conclusions from the meeting:

- ResizeObserver.observe() will accept a new _option_, `device-pixel-content-size`. (@fantasai pointed out that observing the border box was not what was desired. Also, @smfr pointed out that it doesn't need to be a rect, since the position is not useful.)
- A new property will be added to ResizeObserverEntry, `devicePixelContentSize`, which will be populated if `device-pixel-content-size` is being observed for the target element. If populated, it will contain a sequence of two longs, representing the width and height of the element, in device pixels.

@chrishtr @atotic is this correct?

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

Received on Thursday, 10 October 2019 21:55:42 UTC