[csswg-drafts] [css-view-transitions-1] Handling cases where transition constraints are broken mid transition (#7882)

khushalsagar has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] Handling cases where transition constraints are broken mid transition ==
View transitions require a bunch of constraints to be satisfied by tagged elements listed [here](https://drafts.csswg.org/css-view-transitions-1/#perform-an-outgoing-capture):

```
If any of the following is true:

usedTransitionTags [contains](https://infra.spec.whatwg.org/#list-contain) transitionTag.

element is not element’s [root](https://dom.spec.whatwg.org/#concept-tree-root) and element does not have [layout containment](https://drafts.csswg.org/css-contain-2/#layout-containment).

element is not element’s [root](https://dom.spec.whatwg.org/#concept-tree-root) and element allows [fragmentation](https://drafts.csswg.org/css-break-4/#fragmentation).
```

This state can also change mid transition. The simplest thing is to skip the transition in this case.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7882 using your GitHub account


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

Received on Thursday, 13 October 2022 23:58:01 UTC