From 58350b3097b966d67d50f14d9de1a588d9c5690f Mon Sep 17 00:00:00 2001
From: Khushal Sagar <63884798+khushalsagar@users.noreply.github.com>
Date: Mon, 13 May 2024 10:44:18 -0400
Subject: [PATCH] [css-view-transitions-1] Ignore names from shadow DOM
(#10306)
* Ignore names on shadow DOM
* Update Overview.bs
* revieew
---
css-view-transitions-1/Overview.bs | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/css-view-transitions-1/Overview.bs b/css-view-transitions-1/Overview.bs
index 74ccd851679..d911074ce27 100644
--- a/css-view-transitions-1/Overview.bs
+++ b/css-view-transitions-1/Overview.bs
@@ -1320,7 +1320,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
1. Set |transition|'s [=ViewTransition/initial snapshot containing block size=] to the [=snapshot containing block size=].
1. [=list/For each=] |element| of every [=/element=] that is [=/connected=],
- and has a [=node document=] equal to to |document|,
+ and has a [=node document=] equal to |document|,
+ and has a [=tree context=] equal to |document|,
in [paint order](https://drafts.csswg.org/css2/#painting-order):
We iterate in paint order to ensure that this order is cached in |namedElements|.
@@ -1403,7 +1404,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
1. Let |usedTransitionNames| be a new [=/set=] of strings.
1. [=list/For each=] |element| of every [=/element=] that is [=/connected=],
- and has a [=node document=] equal to to |document|,
+ and has a [=node document=] equal to |document|,
+ and has a [=tree context=] equal to |document|,
in [paint order](https://drafts.csswg.org/css2/#painting-order):
1. If any [=flat tree=] ancestor of this |element| [=skips its contents=], then [=continue=].
@@ -1941,8 +1943,8 @@ This should be feasible since access to this data should already be prevented in
This appendix is
informative.
-
-Changes from 2022-05-30 Working Draft
+
* Use a keyframe to add plus-lighter blending during cross-fade. See issue 8924.
* Add mix-blend-mode to list of properties copied over to the ''::view-transition-group''. See issue 8962.
@@ -1964,6 +1966,8 @@ Changes from Issue 9886.
* Export an algorithm to skip the active transition when the page is hidden. See issue 9543.
* Use snapshot containing block when capturing new state for document element. See issue #10177.
+* Fix algorithm for dispatching updateDOMCallback promise.
+* Scope view transition names to matching tree context. See issue 10145.