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

> We're not suggesting the qualifiers yet. But I imagine having and/or/() like media queries.

It's likely fine, I'm just convincing myself that we'll be able to add both and/or operators with the qualifiers later. For example, having no qualifiers implicitly expands to both default values + "and" operator between them. But the author will be able to override the defaults by providing an explicit value for each qualifier + whether its "and"/"or".

```css
@view-transition { ... }

/* The above expands to the following */
@view-transition <<route>> and <<navtype>>  and /* any other potential qualifiers */ { ... }

@view-transition <<route>> or <<navtype>> { ... }

/* The above will expand to the following */
@view-transition <<route>> or <<navtype>>  and /* any other potential qualifiers */ { ... }
```

> Great. Let's suggest this when we discuss the name.

SGTM!

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


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

Received on Friday, 29 September 2023 17:33:50 UTC