W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Ken Russell via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Oct 2019 21:55:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-540816377-1570744539-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC