Skip to content
Prev Previous commit
Next Next commit
Update css-view-transitions-2/Overview.bs
Co-authored-by: Khushal Sagar <63884798+khushalsagar@users.noreply.github.com>
  • Loading branch information
noamr and khushalsagar committed Jan 25, 2024
commit 55f5e033ec254bb5c992c5a12c2d290d30a8ed3a
2 changes: 1 addition & 1 deletion css-view-transitions-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ for multiple elements without having to replicate the corresponding pseudo-eleme

<dl dfn-type=value dfn-for=view-transition-class>
: <dfn>none</dfn>
:: No class would apply to the [=/element=], and pseudo-elements would have to match its 'view-transition-name'.
:: No class would apply to the [=named view-transition pseudo-elements=] generated for this element.

: <dfn><<custom-ident>>*</dfn>
:: All of the specified <<custom-ident>> values (apart from <css>none</css>) apply as classes for the [=/element=].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we excluding auto here as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should... I don't see how class being auto would be a useful reserved keyword since the class doesn't affect anything we do, just allow more selection

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:: All of the specified <<custom-ident>> values (apart from <css>none</css>) apply as classes for the [=/element=].
:: All of the specified <<custom-ident>> values (apart from <css>none</css>) are applied to the [=named view-transition pseudo-elements=] generated for this element.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be defined a bit better I think, using [=captured element/class list=] perhaps, or reference the algorithm below.

Expand Down