- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Oct 2022 14:51:00 +0000
- To: public-css-archive@w3.org
`getBoundingClientRect` is fine for the element with `content-visibility: auto` since that element has been styled/laid out. But if you call it for one of its descendants, it forces a style/layout and causes the browser to do work it had optimized out. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7874#issuecomment-1292171406 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 October 2022 14:51:02 UTC