8000 [scroll-animations-1][web-animations-2] Deferred start time by kevers-google · Pull Request #9181 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
kevers-google committed Aug 14, 2023
commit 85eec1de042c4daa8868021ed428d3aee10094fb
4 changes: 3 additions & 1 deletion scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Markup Shorthands: markdown yes
<pre class=anchors>
urlPrefix: https://html.spec.whatwg.org/multipage/window-object.html; type: dfn; spec: html
text: document associated with a window; url: concept-document-window
urlPrefix: https://drafts.csswg.org/web-animations-2/; type: dfn; spec: web-animations-2
text: calculating an auto-aligned start time
</pre>
<pre class=link-defaults>
spec:web-animations-1;
Expand Down Expand Up @@ -954,7 +956,7 @@ spec:selectors-4; type:dfn; text:selector
When updating timeline current time,
the [=start time=] of any attached animation is conditionally updated.
For each attached animation,
run the procedure for [=animation/calculating an auto-aligned start time=].
run the procedure for [=calculating an auto-aligned start time=].

# Privacy Considerations # {#privacy-considerations}

Expand Down
5 changes: 2 additions & 3 deletions web-animations-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -814,9 +814,8 @@ updating [=custom effects=].
When attached to a non-monotonic timeline, the start time of the animation may be layout dependent.
In this case, we defer calculation of the start time until the timeline has been updated post
layout.
When updating timeline current time, the [=animation/start time=] of any attached animation is conditionally updated. The procedure for
<dfn export for="animation">calculating an auto-aligned start time</dfn>
is as follows:
When updating timeline current time, the [=animation/start time=] of any attached animation is conditionally updated.
The procedure for <dfn export for="animation">calculating an auto-aligned start time</dfn> is as follows:

1. If the |auto-align start time| flag is false, abort this procedure.

Expand Down
0