w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.44k stars 656 forks source link

[css-values-5] <progress> requires easing-function? #10897

Closed alvaromontoro closed 4 days ago

alvaromontoro commented 4 days ago

I was reading the First Public Working Draft of CSS Values and Units Module Level 5 and, in the section about the <progress> type, it indicates that the easing-function is required:

<progress> = [ <percentage> | <number> | <'animation-timeline'> ]? && by <easing-function>

However, in the examples in the following sections, the by <easing-function> is omitted in all of them:

color: mix(90%, currentcolor, black);

It looks like it's optional and the default value is linear if none is indicated (I don't know if that is something to call out explicitly.)

Loirooriol commented 4 days ago

Fixed by #10781. You can see the updated draft here: https://drafts.csswg.org/css-values-5/#progress-type