Re: [csswg-drafts] [css-view-transitions-2] Decide on naming for navigation-triggered view-transition rule (#9383)

+1 to dbaron, I think we need to think about the syntax with these extensions in mind.

Wrt syntax proposals, here's a rough one:

```
@view-transition {
  navigation: same-origin;
}

@view-transition {
  navigation: same-origin;
  from: "/foo/*";
  to: "/bar/*";
  type: slide-out;
}
```

This is pulling all the selection information into declarations, which gives us a bit more syntax to play with, and will probably make more complicated expressions easier to write.

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


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

Received on Wednesday, 25 October 2023 16:04:22 UTC