Re: [csswg-drafts] [css-transitions-2] Naming transition mode property and values (#8939)

My vote goes for `transition-type: [ normal | animatable ]#` for the reason [mentioned](https://github.com/w3c/csswg-drafts/issues/8857#issuecomment-1580890102) by @flackr and because the names are short and easy to spell.

I'm leaning a little bit more to `-type` than `-mode` for the property name because it is more common, though I don't have a strong preference between those two. The other two suggested names are unnecessarily long.

Regarding the values, `interpolable` might be a little bit hard to spell as it could be mixed with `interpolatable`. On the other hand, it might not be immediately clear to everyone that `normal` means that discrete transitions are excluded. I still lean towards that as it's used in other places, it's easy to spell and it's meaning (as initial value) needs to be learned anyway.
For including discrete transitions, I think `animatable` is the way to go, as `discrete` may confuse people whether it makes transitions of interpolable values also discrete.

I didn't consider any other names yet, so maybe there are even better ones.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8939#issuecomment-1583452849 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 8 June 2023 22:07:28 UTC