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

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Aug 2021 08:16:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-900092188-1629188209-sysbot+gh@w3.org>
`gCS(elem).width/height` doesn't return the used width for non-replaced inline elements, so I think it doesn't matter for that specific case, fwiw.

I think doing first-fragment is the easiest. Lots of these APIs weren't thought with fragmentation in mind and trying to retroactively support it is probably not a great idea / use of our time.

APIs like `ResizeObserver` / `getClientRects` / are meant to provide per-fragment sizes, so I don't _think_ we need new APIs even.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 17 August 2021 08:16:52 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:26 UTC