[csswg-drafts] [css-view-transitions-2] Elements with content-visibility in new Document (#10773)

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

== [css-view-transitions-2] Elements with content-visibility in new Document ==
If an element in the new Document for a cross-document transition has `content-visibility: auto`, it's `view-transition-name` is skipped. This is because the algorithm to look for names runs before the first rendering loop on the new Document. And the initial state of elements with `content-visibility: auto` is computed as a part of update the rendering [here](https://html.spec.whatwg.org/#update-the-rendering:~:text=Let%20hadInitialVisibleContentVisibilityDetermination%20be%20false.).

The simple fix would be to force the determination of this state if a Document has an incoming cross-document ViewTransition.

@vmpstr @argyleink @noamr @nt1m

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


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

Received on Friday, 23 August 2024 17:39:42 UTC