- From: Aleksandar Totic via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Oct 2019 22:44:56 +0000
- To: public-css-archive@w3.org
Yes. device-pixel-content-size will be an option, and the size will be reported on ResizeObserverEntry. Size could be defined as:
interface ResizeObserverSize {
readonly attribute unrestricted double inlineSize;
readonly attribute unrestricted double blockSize;
} ;
Side note: #3673 discussed how to handle fragments. Current resolution is that the sizes will be reported as an array. ResizeObserverEntry per spec would look like this:
{
target: Element
contentRect: {....}
devicePixelContentSize: [{ inlineSize: ..., blockSize: ... }]
}
--
GitHub Notification of comment by atotic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3554#issuecomment-540829195 using your GitHub account
Received on Thursday, 10 October 2019 22:44:58 UTC