Skip to content

Commit 2651543

Browse files
authored
[css-view-transitions-1] Add a note about why view-transition-name is animatable (w3c#9630)
As per resolution Closes w3c#9616
1 parent b373bb8 commit 2651543

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,11 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
519519
Animation type: discrete
520520
</pre>
521521

522+
Note: though 'view-transition-name' is [=discrete|discretely animatable=], animating it doesn't
523+
affect the running view transition. Rather, it's a way to set its value in a way that can change
524+
over time or based on a [=timeline=]. An example for using this would be to change the 'view-transition-name'
525+
based on [=scroll-driven animations=].
526+
522527
The 'view-transition-name' property “tags” an element
523528
for [=capture in a view transition=],
524529
tracking it independently in the [=view transition tree=]
@@ -1934,6 +1939,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
19341939
* Animate back-drop filter similar to transform/size. See <a href="https://github.com/w3c/csswg-drafts/issues/9358">issue 9358</a>.
19351940
* Copy `color-scheme` from DOM element to ''::view-transition-group()''. See <a href="https://github.com/w3c/csswg-drafts/issues/9276">issue 9276</a>.
19361941
* 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>.
1942+
* Add a note about why 'view-transition-name' should be animatable.
19371943

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