Re: [csswg-drafts] [css-animations-2] Move scroll and event animation triggers to independent namespace (#12336)

@flackr:
> If authors don't need to specify some of these most of the time we could leave them out for now and give them reasonable default values. E.g. maybe you can specify the primary axis ranges and we use cover in the off axis, or maybe we leave off the ability to specify aribtrary percentages on the ranges.

Definitely good defaults are necessary.
Being able to specify arbitrary percentages is a _MUST_ for the entry, it won't be useful without it.
Though for the exit it's _usually_:

- Mirror entry for `alternate` and `state`.
- And use `cover` for `repeat`.

With the exception that some effects that also apply transforms may require extra margins, though this can also be applied on the timeline's `insets` level.

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


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

Received on Wednesday, 20 August 2025 07:40:29 UTC