@@ -5368,87 +5368,6 @@ <h3>The <code>AnimationTimeline</code> interface</h3>
53685368 sequence number</ a > .
53695369 </ p >
53705370 </ dd >
5371- < dt > double? toTimelineTime (double otherTime,
5372- AnimationTimeline other)</ dt >
5373- < dd >
5374- < p >
5375- Returns the < a > time value</ a > , < em > otherTime</ em > , from another
5376- < a > AnimationTimeline</ a > also tied to the
5377- < a > global clock</ a > , < em > other</ em > , converted to a < a > time
5378- value</ a > relative to this timeline's < a > zero time</ a > .
5379- </ p >
5380- < p >
5381- Returns < code > null</ code > if:
5382- </ p >
5383- < ul >
5384- < li > this timeline is < a > not started</ a > , or</ li >
5385- < li > < em > other</ em > is < a > not started</ a > .</ li >
5386- </ ul >
5387- < p >
5388- Note that unlike < code > currentTime</ code > , this method may return
5389- a negative < a > time value</ a > if < em > otherTime</ em > occurred prior
5390- to this timeline's < a > zero time</ a > .
5391- </ p >
5392- < p >
5393- Furthermore, negative values for < em > otherTime</ em > are also
5394- allowed.
5395- </ p >
5396- < p >
5397- If this timeline records the < a > time value</ a > of the < a > global
5398- clock</ a > at its < a > zero time</ a > as < var > global clock
5399- offset</ var > , and so does < em > other</ em > as < var > other global
5400- clock offset</ var > , then the result of this method is simply:
5401- </ p >
5402- < blockquote >
5403- < code > < var > other global clock offset</ var > + < var > otherTime</ var >
5404- - < var > global clock offset</ var > </ code >
5405- </ blockquote >
5406- < p >
5407- Exceptions:
5408- </ p >
5409- < dl class ="exceptions ">
5410- < dt > DOMException of type < code > InvalidNodeTypeError</ code > </ dt >
5411- < dd >
5412- Raised if < em > other</ em > is a timeline that is not tied to the
5413- < a > global clock</ a > .
5414- < p class ="annotation ">
5415- The reason for choosing < code > InvalidNodeTypeError</ code > here
5416- is that DOM4 describes it as meaning, "The supplied node is
5417- incorrect or has an incorrect ancestor for this operation."
5418- In this case the error is because < em > other</ em > does not have
5419- the < a > global clock</ a > as an ancestor so it seems
5420- appropriate.
5421- </ p >
5422- </ dd >
5423- </ dl >
5424- </ dd >
5425- < dt > double? toTimelineTime (Event event)</ dt >
5426- < dd >
5427- < p >
5428- Returns the number of milliseconds between when < em > event</ em > was
5429- fired and this < a > timeline</ a > 's < a > zero time</ a > .
5430- </ p >
5431- < p >
5432- Since the < code > timeStamp</ code > attribute of the
5433- < code > Event</ code > interface specified in [[DOM-LEVEL-3-EVENTS]]
5434- is not guaranteed to be monotonically increasing, implementations
5435- SHOULD record alongside each event the < a > time value</ a > of the
5436- < a > global clock</ a > when the event is dispatched so that it can be
5437- converted to an accurate < a > time value</ a > here.
5438- </ p >
5439- < p >
5440- Unlike < code > currentTime</ code > , this method may return a negative
5441- < a > time value</ a > if the event was fired prior to this
5442- < a > timeline</ a > 's < a > zero time</ a > .
5443- </ p >
5444- < p >
5445- Returns < code > null</ code > if this < a > timeline</ a > is < a > not
5446- started</ a > .
5447- </ p >
5448- < p class ="issue ">
5449- This might be deferred to a later version.
5450- </ p >
5451- </ dd >
54525371 </ dl >
54535372 </ section >
54545373 < section >
@@ -8290,6 +8209,8 @@ <h2>Changes since last publication</h2>
82908209 < li > Removed custom effect priorities.
82918210 < li > Renamed the < code > Timeline</ code > interface to
82928211 < a > AnimationTimeline</ a > .
8212+ < li > Removed both versions of < code > toTimelineTime</ code > from the
8213+ < a > AnimationTimeline</ a > interface.
82938214 < li > Renamed < code > getCurrentPlayers</ code > on the
82948215 < a > AnimationTimeline</ a > interface to
82958216 < code > getAnimationPlayers</ code > .
0 commit comments