-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusion about the description of this algorithm listed in SMIL Animation doc. #838
Comments
|
Hi, @fsoder . Thank you for your explaination. I'd like to express my understanding to collect some corrections if I made any mistakes. So, as a conclusion, the algorithm is trying to find a specific time point within I think Imagine a horizontal timeline axis which directs right as its positive direction. Acitve duration lay on this axis and its start point is rTo. Negative offset will pull the whole Considering repeat behavior applied on the If Hmm... I think it's better to illustrate the concept by images. |
With that saying, I think the algorithm only applies when the offset is negative and the resolved sync-base or event-base time with the offset is earlier than rAt. Futhermore, Here is an example, please bear with me: If thus we will have mb = REM - rD = -4s < 0 According to the algorithm, the media should begin at In order to make sure that What do you think? |
I'd agree that it appears to be bug in the spec that |
I have try to understand your suggestion: If we follow your algorithm, there is no need to determine if 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: Besides, I think we can optimise the first conclusion in the original algorithm from For situation By the way, I guess |
As I mentioned previously, I suspect this algorithm is more complicated than it need be. It also feels like it's making this out as more of a special case than it ought to be. I think that the rejection of the relevant interval would follow from the regular interval resolution process, and determining the time within the interval (and simple duration) isn't any different than what'd be needed for any other syncbase (or really any other time value). 'Starting' (potentially) in the middle of an interval will also be the case for example when seeking the timeline, so this logic will be required there as well. |
What do you mean by |
That would be what the algorithm refers to as 'If |
Got it. I have got your point that the algorithm we are discussing is a very illustrative one. By the way, is SMIL animation around svg still relavent in near future? It seems that Google was going to deprecate it. |
It's no longer deprecated in Chrome (read the whole thread that you reference! ;-)), and last time I checked usage was increasing. |
Glad to know that! I have no more questions. Going to close this issue. |
SMIL Animation spec:
https://www.w3.org/TR/smil-animation/
I quote the algorithm here:
I have some questions to hopefully find some relief here:
Thank you very much in advance! I really not able to figure that out by myself.
The text was updated successfully, but these errors were encountered: