Skip to content

Commit 2212352

Browse files
noamrkhushalsagar
andauthored
[css-view-transitions-1] Treat auto as an invalid value for view-transition-name (w3c#9764)
* [css-view-transitions-1] Treat `auto` as an invalid value Closes w3c#9639 * Update css-view-transitions-1/Overview.bs Co-authored-by: Khushal Sagar <63884798+khushalsagar@users.noreply.github.com> * Add issue link --------- Co-authored-by: Khushal Sagar <63884798+khushalsagar@users.noreply.github.com>
1 parent 541216b commit 2212352

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
511511

512512
<pre class=propdef>
513513
Name: view-transition-name
514-
Value: none | <<custom-ident>>
514+
Value: none | auto | <<custom-ident>>
515515
Initial: none
516516
Inherited: no
517517
Percentages: n/a
@@ -534,6 +534,9 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
534534
: <dfn>none</dfn>
535535
:: The [=/element=] will not participate independently in a view transition.
536536

537+
: <dfn>auto</dfn>
538+
:: This should be treated as an invalid value, despite being a valid <<custom-ident>>. The property value remains unchanged.
539+
537540
: <dfn><<custom-ident>></dfn>
538541
:: The [=/element=] participates independently in a view transition--
539542
as either an old or new [=/element=]--
@@ -1940,6 +1943,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
19401943
* Copy `color-scheme` from DOM element to ''::view-transition-group()''. See <a href="https://github.com/w3c/csswg-drafts/issues/9276">issue 9276</a>.
19411944
* 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>.
19421945
* Add a note about why 'view-transition-name' should be animatable.
1946+
* `view-transition-name: auto` should be an invalid value. See <a href="https://github.com/w3c/csswg-drafts/issues/9639">issue 9639</a>.
19431947

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