- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Apr 2024 14:20:48 +0000
- To: public-css-archive@w3.org
> That seems wrong, but visually what you’d expect to happen. Just to confirm, the error is that we're using the border-box for the document element [here](https://drafts.csswg.org/css-view-transitions-1/#style-transition-pseudo-elements-algorithm:~:text=Set%20width%20to%20the%20current%20width%20of%20capturedElement%E2%80%99s%20new%20element%27s%20border%20box.). Instead it should be the snapshot containing block size similar to when we do this for the old DOM [here](https://drafts.csswg.org/css-view-transitions-1/#capture-old-state-algorithm:~:text=Let%20originalRect%20be%20snapshot%20containing%20block%20if%20element%20is%20the%20document%20element%2C%20otherwise%2C%20the%20element%7C%27s%20border%20box.). SGTM. Thanks for spotting this! -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10177#issuecomment-2042885816 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 8 April 2024 14:20:49 UTC