Skip to content

Commit 6b7d1ba

Browse files
authored
Fix @view-transition types syntax
Unlike `:active-view-transition-type(<custom-ident>#)`, the `types` descriptor is a space-separated list. See https://drafts.csswg.org/css-view-transitions-2/#types-cross-doc
1 parent a517460 commit 6b7d1ba

File tree

1 file changed

+2
-2
lines changed
  • files/en-us/web/css/reference/at-rules/@view-transition

1 file changed

+2
-2
lines changed

files/en-us/web/css/reference/at-rules/@view-transition/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ For a cross-document view transition to work, the current and destination docume
3030

3131
- `types`
3232
- : Specifies the view transition [types](/en-US/docs/Web/API/View_Transition_API/Using_types) to set on the active view transition for the current and destination documents. Possible values are:
33-
- `<custom-ident>#`
34-
- : One or more comma-separated {{cssxref("&lt;custom-ident>")}} values representing the types to set.
33+
- `<custom-ident>+`
34+
- : One or more space-separated {{cssxref("&lt;custom-ident>")}} values representing the types to set.
3535
- `none`
3636
- : No types are set.
3737

0 commit comments

Comments
 (0)