-
Notifications
You must be signed in to change notification settings - Fork 677
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-view-transitions-1] Treat
auto
as an invalid value for `view-t…
…ransition-name` (#9764) * [css-view-transitions-1] Treat `auto` as an invalid value Closes #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>
- Loading branch information
1 parent
541216b
commit 2212352
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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>>. The property value remains unchanged. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
fantasai
Collaborator
|
||
|
||
: <dfn><<custom-ident>></dfn> | ||
:: The [=/element=] participates independently in a view transition-- | ||
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 | |
* 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. See <a href="https://github.com/w3c/csswg-drafts/issues/9639">issue 9639</a>. | ||
|
||
<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> | ||
|
@tabatkins @fantasai I don't think this is how custom-ident restrictions are typically defined. Do you know if there are some good examples that can be followed here?