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

We chatted with @tabatkins and he's happy with the general shape of the syntax here.

We would need to define what the CSSOM looks like.

It might be worth making `@cross-document-transition allow;` a shorthand for something like:

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

…which would allow us to add other descriptors in future.

In the new page, the opt-in would need to be present before first render. This works out, since CSS in the head is render-blocking.

-- 
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8048#issuecomment-1495777539 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:07:55 UTC