Skip to content

Commit 8bd7fbd

Browse files
committed
ideas/timelines: Allow query-linked timelines as animation timelines (but warn about problems)
1 parent a2f6305 commit 8bd7fbd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ideas/timelines.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ A typical example might look like:
6868
}
6969
</code>
7070

71-
Query-linked timelines are not allowed in ''animation-timeline'' (because this would cause cascading problems, where anyone using query-based interpolation via animation properties would override all affected properties at levels of the cascade). Instead they can be referenced by an inline interpolation function.
71+
Query-linked timelines are allowed by naming them in ''animation-timeline'', but it's not recommended to use this method in most cases because it would cause cascading problems---where anyone using query-based interpolation via animation properties would override all affected properties at levels of the cascade. They can instead be referenced by an interpolation function within the affected property declarations, which allows the interpolated value to cascade the same as any other declared value.
7272

7373
==== Value Interpolation ====
7474

@@ -122,3 +122,4 @@ Some details we need to make sure to spec correctly:
122122

123123
* If the timeline has zero length. (Animations currently land on the last keyframe, so probably other timelines should follow this precedent.)
124124
* If ''view-timeline-fit'' is 100% but the element is larger than the viewport. (Probably the fit should be clamped by fitting the requested percentage of the element or filling the size of the viewport, whichever is smaller.)
125+
* All timelines share the same namespace.

0 commit comments

Comments
 (0)