From b8449c813df074e5cfcb9b6bcab89fb709a549e1 Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:46:16 +0200 Subject: [PATCH] fix: add clarification on view transition type naming restrictions --- src/content/docs/basics/api.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/docs/basics/api.mdx b/src/content/docs/basics/api.mdx index c416f7e..bd86864 100644 --- a/src/content/docs/basics/api.mdx +++ b/src/content/docs/basics/api.mdx @@ -36,6 +36,7 @@ Test whether your browser supports the latest features of the View Transition AP |When|What|Where| |---|---|---| +|2026-06-29|You cannot use `none` or identifiers starting with `-ua-` as names for view transition types. If you try to add those to the view transition's types set, they will simply be ignored. The latter is consistent with the restriction that view transition names starting with `-ua-` are reserved for use by the browser (the user agent).|[View Transition Types](https://drafts.csswg.org/css-view-transitions-2/#types-cross-doc)| |2026-04-29|Duplicate view transition names will be ignored instead of causing the view transition to fail. Originally, if the same view transition name was found twice during a capturing phase, the view transition was skipped. The new behaviour will automatically remove view transition names with non-unique definitions and continue the view transition with the remaining unique names. (_Not yet supported by any browser_) |[View Transition Activation](https://drafts.csswg.org/css-view-transitions-2/#activate-view-transition)| |2026-03-09|`view-transition-scope: auto` (_outdated_) was superseded by [`view-transition-scope: all`](/basics/javascript/#view-transition-scope). You can use this property to hide view transition names inside a DOM subtree from view transitions started outside of it.|[view-transition-scope](https://drafts.csswg.org/css-view-transitions-2/#view-transition-scope-prop) |2026-01-26|`contain: view-transition` (_outdated_) was superseded by `view-transition-scope: auto`. (_outdated_) |[view-transition-scope](https://drafts.csswg.org/css-view-transitions-2/#view-transition-scope-prop) -- knotmirror 0.0.1