- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Jul 2023 18:56:31 +0000
- To: public-css-archive@w3.org
khushalsagar has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-view-transitions-2] Do a ViewTransition for orientation changes == If the device is rotated, the page is going to be laid out based on the new orientation. Would be cool to do a ViewTransition there. The following points need to be sorted out. - How does the transition get initiated? We need to give developers a hook to add `view-transition-names` before the capture is done so we likely need an event which is fired with the new orientation but before the Document is actually resized. Maybe the developer could call startVT in this event to indicate they want to use VT for the rotation. - If startVT is called then the browser should apply the new size before dispatching the update callback. - Right now we abort transitions if the snapshot containing block size mismatches before/after the transition. That will need to switch to transposing all the captured state (transform, size, the image itself) to map the captured state to the new orientation. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9064 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 July 2023 18:56:33 UTC