Re: [csswg-drafts] [css-view-transition] "capture the new state" and "capture the old state" are subtly different. (#11071)

That is a bug. We should be skipping such elements in "capture the new state" same as "capture the old state".

The later check in https://drafts.csswg.org/css-view-transitions-1/#update-pseudo-element-styles to skip is if that state changes after the transition starts. We've already set up the pseudo-DOM, hard to reason about changing it, so we skip the transition if these invariants change. But when we're deciding on the names at the beginning, we err on ignoring names which don't satisfy these conditions instead.

-- 
GitHub Notification of comment by khushalsagar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11071#issuecomment-2429584218 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 October 2024 15:22:27 UTC