Skip to content

Commit f203fbb

Browse files
authored
Add note to explain paint order (w3c#9768)
1 parent f4e79df commit f203fbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,6 +1458,10 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
14581458
1. If |namedElements|[|transitionName|] does not [=map/exist=],
14591459
then set |namedElements|[|transitionName|] to a new [=captured element=] struct.
14601460

1461+
Note: We intentionally add this struct to the end of this ordered map.
1462+
This implies than names which only exist in the new DOM (entry animations) will be painted on top of names only in the old DOM (exit animations) and names in both DOMs (paired animations).
1463+
This might not be the right layering for all cases. See <a href="https://github.com/w3c/csswg-drafts/issues/8941">issue 8941</a>.
1464+
14611465
1. Set |namedElements|[|transitionName|]'s [=new element=] to |element|.
14621466
</div>
14631467

@@ -1944,6 +1948,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
19441948
* Expose [=auto-skip view transition=] for a {{Document}}, to allow having outbound cross-document transitions preceed programmatic view transiitons. see <a href="https://github.com/w3c/csswg-drafts/issues/9512">issue 9512</a>.
19451949
* Add a note about why 'view-transition-name' should be animatable.
19461950
* `view-transition-name: auto` should be an invalid value. See <a href="https://github.com/w3c/csswg-drafts/issues/9639">issue 9639</a>.
1951+
* Add note to explain paint order for entry animations. See <a href="https://github.com/w3c/csswg-drafts/issues/9672">issue 9672</a>.
19471952

19481953
<h3 id="changes-since-2022-05-25">
19491954
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)