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

> I'm not sure that
>
> ```css
> @view-transition same-origin { trigger: <any-value-other-than-navigation> }
> ```
> makes any sense.

Wouldn't this just be an explicit opt-out (which is the default).

If an opt-out that's the default seems redundant, could we just omit trigger entirely? (i.e. the existence of the at-rule implies opt-in). Examples:

```css
@view-transition same-origin-navigation;

@view-transition same-origin-navigation and history-back {
  typeNames: slide-in reverse;
} 
```

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


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

Received on Wednesday, 20 September 2023 15:52:27 UTC