Re: [csswg-drafts] [css-view-transitions-1] content-visibility: auto elements are relevant to the user during a transition (#7874)

`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