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

Regarding naming, I want to find something here that would be extendable to same-document declarative transitions (#8300) and to same-site cross-origin, if we ever want to do either.

Having an allow/deny thing would make that verbose, but perhaps OK?:
```css
@cross-document-view-transtions: allow;
@cross-origin-view-transitions: allow;
@same-document-view-transtions: allow;
```

I think the essence of what we're "allowing" here is *automatic* view transitions, as in, transitions that occur without calling `startViewTransition` programatically.

So perhaps:
```css
@auto-view-transitions {
  same-origin: allow;
  same-site: allow;
  same-document: allow;
}
```
or something like:

```css
@auto-view-transitions: same-origin same-document same-site;
```

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


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

Received on Saturday, 10 June 2023 09:20:56 UTC