[scroll-animations-1] Ambiguous grammar of animation-range
#9264
Labels
scroll-animations-1
Current Work
animation-range
#9264
https://drafts.csswg.org/scroll-animations-1/#animation-range
I assume
animation-range: entry 10%
should expand toanimation-range-start: entry 10%
and(see next comment)animation-range-end: normal
animation-range-end: entry 100%
.But assuming the grammar can be symbolized with
[a | b a?]{1,2}
and the input isb a
, I do not know which spec defines the matching behavior that says how many repetitions should match the input.Maybe it should be clarified in prose (and the examples could include this case). For example:
Note this also means that when serializing
animation-range
,0%
cannot be omitted for the<timeline-range-name>
ofanimation-range-start
ifanimation-range-end
is declared with a (single)<length-percentage>
.The text was updated successfully, but these errors were encountered: