Re: [csswg-drafts] [css-view-transitions-2] Declarative opt-in for cross-document navigations (#8048)

> @noamr how does this syntax deal with #8784? We want transitions to not occur for reloads by default but let authors configure it. Since this can be done in script using the `navigate` event, seems ok if we punt on a declarative hook for it. But I wasn't sure what the plan for that is with this syntax.

In short, `@view-transition reload { trigger: navigation}` (replace with whatever name we end up with for the rule etc).

The nice thing about reload is that it replaces both the URLs AND the navigation type, so we don't have to bother with composing reloads with other qualifier. A VT-navigation rule is *either* `reload` without anything else, or whatever else (same-origin, particular URLs with from/to, back, etc).

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


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

Received on Wednesday, 27 September 2023 19:13:31 UTC