[animation-triggers-1] Update AnimationTrigger specification#14044
[animation-triggers-1] Update AnimationTrigger specification#14044DavMila wants to merge 3 commits into
Conversation
This adds missing </dfn> and </div> tags.
This moves the details of AnimationTrigger to the animation-triggers-1 spec. This is mostly a copy-paste of the content from web-animations-2, with a few adjustments: - Drops the Animation frame loop update portion - Drops the Animation mixin interface update portions - Drops the KeyframeAnimationOptions 'trigger' addition (these were structured as ammendments to web-animations-1 but are no longer relevant anyway.) - Adjusts the level of some headings so bikeshed is happy.
This Updates the details of the AnimationTrigger interface and algorithms and removed TimelineTrigger-specific details.
|
|
||
| 1. an <dfn lt="animation trigger active" export>active</dfn> flag, which is initially false, | ||
|
|
||
| 1. a <dfn lt="animation trigger invokes deactivation" export>invokes deactivation</dfn> flag, |
There was a problem hiding this comment.
FYI @flackr:
The idea with the invokes deactivation flag is that EventTriggers will, when initialized, set this flag to true only if configured to have deactivation events (and leave false otherwise). TimelineTriggers always set this flag to true as they inherently have a deactivation "event".
| ## Invoking Activation & Deactivation ## {#animation-trigger-activation-deactivation} | ||
|
|
||
| ## Animation Trigger Behavior ## {#trigger-behaviors} | ||
| When asked to <dfn lt="invoke activation">invoke activation</dfn> given a [=trigger=] <var>trigger</var>, |
There was a problem hiding this comment.
FYI @tabatkins: I realize we'd rather not have algorithms in spec but I figured these algorithms are short and not overly complicated... so perhaps they make are still a good way to spec the attributes/behavior common to different trigger types.
|
@DavMila in my local changes I'm changing |
This Updates the details of the AnimationTrigger interface and algorithms and removed TimelineTrigger-specific details which will be updated separately.