- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Apr 2024 19:09:09 +0000
- To: public-css-archive@w3.org
@vmpstr trying to tease the API contact you're proposing. The browser is free to not generate pseudo-elements for a `view-transition-name` in the old DOM if: - The named element is offscreen in the old DOM. - There is no corresponding name in the new DOM *or* the named element in the new DOM is also offscreen on first render. For the case where a name is only in the new DOM, the browser can optimize out its rendering as usual since we're producing live snapshots. Not generating pseudo-elements is the web observable difference here. So an author can't bring the pseudo-element onscreen only during the transition. Internally an engine can optimize by caching any representation of the old DOM until the new DOM is ready. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8282#issuecomment-2050341483 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 April 2024 19:09:10 UTC