W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

Re: [csswg-drafts] [cssom][css-break] getComputedStyle and fragmentation (#6513)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Aug 2021 21:28:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-899830272-1629149283-sysbot+gh@w3.org>
@emilio @frivoal Its different, but there is a (slightly) larger larger question around what non-fragment aware geometry APIs should return in general. E.g. what does clientWidth/clientHeight return?

We are currently building the capability to have different inline-sized fragments. An answer which may make sense is:
```
gCS(elem).width == std::max(fragments_inline_sizes);
gCS(elem).height == sum_fragments_block_sizes;
```

Similar for clientWidth/clientHeight/scrollWidth/scrollHeight/etc.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 16 August 2021 21:28:06 UTC

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