Re: [csswg-drafts] [css-view-transitions-2] Define navigation descriptor for @view-transition (#8783)

Proposal from internal sync:

- Use the name `auto` as per existing spec.
- The name `auto` should not match reloads, and also not match browser-UI non-traverse navigations (e.g. typing in the URL bar). This matches the behavior of the navigation API, where this type of navigation is not interceptable.
- The rationale for this is not about an unexpected route, but rather that:
  a. typing in the URL address bar and switching URLs. might "feel like" a new navigation rather than a transition between pages, so for now starting conservatively without those navigations feels safe.
  b. Because these navigations are not cancelable/interceptable, there's no way to customize/skip the transition in the JS, which is still an important piece of cross-document view transitions.

In summary, `auto`would match:
- Any `traverse` navigation
- Any `push` or `replace` navigation whose `user involvement` is not `browser UI`.





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


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

Received on Wednesday, 3 January 2024 10:03:05 UTC