Re: [csswg-drafts] [web-animations-2][css-animations-2] How should unspecified trigger range boundaries be resolved? (#11932)

> `animation-trigger-exit-range: auto normal` should mean the same as `animation-trigger-exit-range: auto auto` which means "match the trigger range."

I don't think I understood this. `auto` is always resolved to match the corresponding value of the default range, and `normal` is resolved to match the corresponding edge of the full range.
So for: `animation-trigger-range-start: entry 20%; animation-trigger-exit-range-start: auto`
You'll get: `animation-trigger-range-start: entry 20%; animation-trigger-exit-range-start: entry 20%`.

And for: `animation-trigger-range-start: entry 20%; animation-trigger-exit-range-start: normal`
You'll get: `animation-trigger-range-start: entry 20%; animation-trigger-exit-range-start: cover 0%`.

The point is that in the same range `-start` and `-end` don't affect each other in case of having the `auto` value. They're always resolved against the default range, as in `animation-trigger-range`.

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


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

Received on Sunday, 6 April 2025 08:11:53 UTC