Skip to content

[css-view-transitions-1] Treat auto as an invalid value for view-transition-name #9764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[css-view-transitions-1] Treat auto as an invalid value
Closes #9639
  • Loading branch information
noamr committed Jan 4, 2024
commit e14e710721bc85590c66c703aa759ca8ad3e37cc
6 changes: 5 additions & 1 deletion css-view-transitions-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;

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

: <dfn>auto</dfn>
:: This should be treated as an invalid value, despite being a valid <<custom-ident>>.

: <dfn><<custom-ident>></dfn>
:: The [=/element=] participates independently in a view transition--
as either an old or new [=/element=]--
Expand Down Expand Up @@ -1940,6 +1943,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
* Copy `color-scheme` from DOM element to ''::view-transition-group()''. See <a href="https://github.com/w3c/csswg-drafts/issues/9276">issue 9276</a>.
* 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>.
* Add a note about why 'view-transition-name' should be animatable.
* `view-transition-name: auto` should be an invalid value.

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