8000 [scroll-animations-1] Clarify that progress percentages must be between 0% and 100% · Issue #8552 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[scroll-animations-1] Clarify that progress percentages must be between 0% and 100% #8552

@bramus

Description

@bramus

While checking #5203 (comment), I noticed the scroll-animations-1 spec doesn’t mention that the percentages for the timeline ranges must be between 0% and 100%.

Furthermore the original <keyframe-selector> definition from css-animations-1 seems to have inadvertently been relaxed as the allowed range for <percentage> is no longer mentioned.

  • css-animations-1:

    <keyframe-selector> = from | to | <percentage [0,100]>
    
  • scroll-animations-1:

    <keyframe-selector> = from | to | <percentage> | <timeline-range-name> <percentage>
    

I think we should explicitly mention the allowed range.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0