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 ad734d0e6a43d1e674e606c12a78924f4767ede6
9 changes: 4 additions & 5 deletions scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,8 @@ spec:web-animations-2: type:dfn; text:auto-aligned start time
any created [=scroll progress timelines=] or [=view progress timelines=] are collected into a <dfn export>stale timelines</dfn> set.
After step 7.14 if any timelines' [=named timeline ranges=] have changed,
these timelines are added to the [=stale timelines=] set.
If there are any [=stale timelines=], they now update their current time and associated ranges, the set of [=stale timelines=] is cleared and
we run an additional step to recalculate styles and update layout.
If there are any [=stale timelines=], they now update their current time and associated ranges,
the set of [=stale timelines=] is cleared and we run an additional step to recalculate styles and update layout.

Note: We check for layout changes after dispatching any {{ResizeObserver}}s intentionally
to take programmatically sized elements into account.
Expand All @@ -932,9 +932,8 @@ spec:web-animations-2: type:dfn; text:auto-aligned start time
in the rendered output.

Note: This section has no effect on forced style and layout
calculations triggered by {{Window/getComputedStyle()|getComputedStyle()}} or
similar. In other words, [=stale timelines|initially stale=] timelines are
visible as such through those APIs.
calculations triggered by {{Window/getComputedStyle()|getComputedStyle()}} or similar.
In other words, [=stale timelines|initially stale=] timelines are visible as such through those APIs.

If the final style and layout update
would result in a change in the time or scope (see 'timeline-scope')
Expand Down
4 changes: 2 additions & 2 deletions web-animations-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2312,14 +2312,14 @@ Add:
> Setting the attribute follows the same rules as the KeyframeAnimationOption
> <a href="#dom-keyframeanimationoptions-rangestart">rangeStart</a>.
> When reading the attribute, the returned value is either a
> {{TimelineRangeOffset}} or the {{DOMString}} normal.
> {{TimelineRangeOffset}} or the {{DOMString}} "normal".
>
> : <dfn attribute for=Animation>rangeEnd</dfn>
> :: Specifies the end of the <a>animation</a>’s [=animation attachment range=].
> Setting the attribute follows the same rules as the KeyframeAnimationOption
> <a href="#dom-keyframeanimationoptions-rangeend">rangeEnd</a>.
> When reading the attribute, the returned value is either a
> {{TimelineRangeOffset}} or the {{DOMString}} normal.
> {{TimelineRangeOffset}} or the {{DOMString}} "normal".
</div>

<h3 id="the-animationeffect-interface">The <code>AnimationEffect</code> interface</h3>
Expand Down
0