- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Apr 2024 14:25:05 +0000
- To: public-css-archive@w3.org
> The old element is out of viewport when capturing the old state, and the usef scrolls to a position where it's in viewport. So we considered it invisible when capturing but that state changed. So the `view-transition-name` is ignored in the old DOM but it is applied in the new DOM (when scrolling brought that element into the viewport). There won't be a `::view-transition-old` pseudo for that name. If the name has an ancestor with a name 2 cases are possible: - The named ancestor is the root in which case the old content is not captured at all (because root snapshots clip to the viewport). - The named ancestor is not the root in which case the old content could be in this ancestor's snapshot. There will be a `::view-transition-new` for it though. Would the `:only-child` pseudo-class suffice to detect this state? -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8282#issuecomment-2075079194 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 April 2024 14:25:06 UTC