From 227d420c12d52386f64ca52c829d909e9828d5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Gianella?= Date: Fri, 17 Apr 2026 09:13:32 +0200 Subject: [PATCH 1/3] fix(docs): remove wrong part of description of custom-ident value in view-transition-class --- .../web/css/reference/properties/view-transition-class/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/reference/properties/view-transition-class/index.md b/files/en-us/web/css/reference/properties/view-transition-class/index.md index ab75b723fd07b4f..437882dd7cad556 100644 --- a/files/en-us/web/css/reference/properties/view-transition-class/index.md +++ b/files/en-us/web/css/reference/properties/view-transition-class/index.md @@ -28,7 +28,7 @@ view-transition-class: unset; ### Values - {{cssxref("custom-ident")}} - - : An identifying name that causes the selected element to participate in a separate [view transition](/en-US/docs/Web/API/View_Transition_API) from the root view transition. The identifier must be unique. If two rendered elements have the same `view-transition-name` at the same time, {{domxref("ViewTransition.ready")}} will reject and the transition will be skipped. + - : An identifying name that causes the selected element to participate in a separate [view transition](/en-US/docs/Web/API/View_Transition_API) from the root view transition. - `none` - : No class would apply to the named view transition pseudo-elements generated for this element. From e992433f783c590dab4248571ed1163bd4423caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Gianella?= Date: Fri, 17 Apr 2026 09:25:14 +0200 Subject: [PATCH 2/3] fix(docs): rephrase custom-ident value description in view-transition-class --- .../web/css/reference/properties/view-transition-class/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/reference/properties/view-transition-class/index.md b/files/en-us/web/css/reference/properties/view-transition-class/index.md index 437882dd7cad556..941b7dd9b50c21d 100644 --- a/files/en-us/web/css/reference/properties/view-transition-class/index.md +++ b/files/en-us/web/css/reference/properties/view-transition-class/index.md @@ -28,7 +28,7 @@ view-transition-class: unset; ### Values - {{cssxref("custom-ident")}} - - : An identifying name that causes the selected element to participate in a separate [view transition](/en-US/docs/Web/API/View_Transition_API) from the root view transition. + - : An identifying name that allows the element to be selected by view transition pseudo-elements in order to apply styles during the transition. - `none` - : No class would apply to the named view transition pseudo-elements generated for this element. From 095f1cb54bc6b1e452a56e2966852af55b4d6daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Gianella?= Date: Fri, 17 Apr 2026 09:35:10 +0200 Subject: [PATCH 3/3] fix(docs): explicitly indicate that view-transition-class supports several values --- .../css/reference/properties/view-transition-class/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/en-us/web/css/reference/properties/view-transition-class/index.md b/files/en-us/web/css/reference/properties/view-transition-class/index.md index 941b7dd9b50c21d..be88db22fd626b6 100644 --- a/files/en-us/web/css/reference/properties/view-transition-class/index.md +++ b/files/en-us/web/css/reference/properties/view-transition-class/index.md @@ -6,13 +6,14 @@ browser-compat: css.properties.view-transition-class sidebar: cssref --- -The **`view-transition-class`** [CSS](/en-US/docs/Web/CSS) property provides the selected elements with an identifying class (a {{cssxref("custom-ident")}}), providing an additional method of styling the view transitions for those elements. +The **`view-transition-class`** [CSS](/en-US/docs/Web/CSS) property provides the selected elements with one or more identifying classes ({{cssxref("custom-ident")}}s), providing an additional method of styling the view transitions for those elements. ## Syntax ```css /* value examples */ view-transition-class: card; +view-transition-class: card fast-slide; /* Keyword value */ view-transition-class: none;