- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Nov 2022 19:26:14 +0000
- To: public-css-archive@w3.org
One constraint (which I missed above) is that an element participating in a transition must generate a box (can't be `display: none`). When walking through the DOM to identify named elements, we ignore DOM elements which don't generate a box (as if they had `view-transition-name:none`). See spec text [here](https://drafts.csswg.org/css-view-transitions-1/#perform-an-old-capture-algorithm): "If transitionName is [none](https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-none), or element is [not rendered](https://www.w3.org/TR/css-images-4/#element-not-rendered), then [continue](https://infra.spec.whatwg.org/#iteration-continue)." A change in this state (such that the element no longer generates a box) should also skip the transition. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7882#issuecomment-1315767620 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 November 2022 19:26:16 UTC