Re: [svgwg] Confusion about the description of this algorithm listed in SMIL Animation doc. (#838)

I have try to understand your suggestion: `mb = REM(rAt - (rTo + o), d)` and did some validations.
I think that'll work.

If we follow your algorithm, there is no need to determine if `mb` is positive or negative. That would be better I think.

But I am not sure whether it will cover all repeat behaviors or not.

So as to the constaints, as far as I can think of, could be:
`ABS(o) > rD`

Besides, I think we can optimise the first conclusion in the original algorithm from
`If ABS(o) >= AD then the element does not begin.` to 
`If (rD + AD) <= ABS(o) < rD, then the element does not begin. `

For situation `ABS(o) < rD`, the animation will begin after `rD + o` at zero point of `d`.

By the way, I guess `mb` means `media begin`, right?

-- 
GitHub Notification of comment by krave1986
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/838#issuecomment-826843432 using your GitHub account


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

Received on Monday, 26 April 2021 13:39:19 UTC