Skip to content

Commit 58350b3

Browse files
authored
[css-view-transitions-1] Ignore names from shadow DOM (#10306)
* Ignore names on shadow DOM * Update Overview.bs * revieew
1 parent b03d123 commit 58350b3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
13201320
1. Set |transition|'s [=ViewTransition/initial snapshot containing block size=] to the [=snapshot containing block size=].
13211321

13221322
1. [=list/For each=] |element| of every [=/element=] that is [=/connected=],
1323-
and has a [=node document=] equal to to |document|,
1323+
and has a [=node document=] equal to |document|,
1324+
and has a [=tree context=] equal to |document|,
13241325
in [paint order](https://drafts.csswg.org/css2/#painting-order):
13251326

13261327
<div class=note>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;
14031404
1. Let |usedTransitionNames| be a new [=/set=] of strings.
14041405

14051406
1. [=list/For each=] |element| of every [=/element=] that is [=/connected=],
1406-
and has a [=node document=] equal to to |document|,
1407+
and has a [=node document=] equal to |document|,
1408+
and has a [=tree context=] equal to |document|,
14071409
in [paint order](https://drafts.csswg.org/css2/#painting-order):
14081410

14091411
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
19411943

19421944
This appendix is <em>informative</em>.
19431945

1944-
<h3 id="changes-since-2022-05-30">
1945-
Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230530/">2022-05-30 Working Draft</a>
1946+
<h3 id="changes-since-2023-05-30">
1947+
Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230530/">2023-05-30 Working Draft</a>
19461948
</h3>
19471949
* Use a keyframe to add plus-lighter blending during cross-fade. See <a href="https://github.com/w3c/csswg-drafts/issues/8924">issue 8924</a>.
19481950
* Add mix-blend-mode to list of properties copied over to the ''::view-transition-group''. See <a href="https://github.com/w3c/csswg-drafts/issues/8962">issue 8962</a>.
@@ -1964,6 +1966,8 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
19641966
* Remove references to cross-document view-transitions, to keep the L1 spec clean. See <a href="https://github.com/w3c/csswg-drafts/issues/9886">Issue 9886</a>.
19651967
* Export an algorithm to skip the active transition when the page is hidden. See <a href="https://github.com/w3c/csswg-drafts/issues/9543">issue 9543</a>.
19661968
* Use snapshot containing block when capturing new state for document element. See <a href="https://github.com/w3c/csswg-drafts/issues/10177">issue #10177</a>.
1969+
* Fix algorithm for dispatching updateDOMCallback promise.
1970+
* Scope view transition names to matching tree context. See <a href="https://github.com/w3c/csswg-drafts/issues/10145">issue 10145</a>.
19671971

19681972
<h3 id="changes-since-2022-05-25">
19691973
Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230525/">2022-05-25 Working Draft</a>

0 commit comments

Comments
 (0)