[csswg-drafts] [css-view-transitions-2] Handle design changes between pages in MPA transitions (#8679)

jakearchibald has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-2] Handle design changes between pages in MPA transitions ==
Unlike SPA, regular navigations may be from version 1 of a site, and version two. In some cases, version 1 and 2 may be incompatible in terms of view transitions - such as a major design change.

We should have some mechanism to handle this.

One way would be to have a version ident as part of the [opt-in](https://github.com/w3c/csswg-drafts/issues/8048):

```css
@cross-document-transition {
  state: allow;
  version: 123;
}
```

And if the versions don't match on either side, the transition doesn't happen (as if the 'new' state didn't opt-in).

If we go with the pattern above, we need to figure out what type the version should be, as a number seems a bit restrictive.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8679 using your GitHub account


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

Received on Tuesday, 4 April 2023 11:31:41 UTC