@@ -77,6 +77,7 @@ urlPrefix: http://www.ecma-international.org/ecma-262/6.0/#sec-; type: dfn; spec
77
77
text: [[Get]] ; url: ordinary-object-internal-methods-and-internal-slots-get-p-receiver
78
78
urlPrefix: https://html.spec.whatwg.org/multipage/browsers.html; type: dfn; spec: html
79
79
text: active document
80
+ text: document associated with a window; url: concept-document-window
80
81
text: an entry with persisted user state
81
82
text: browsing context
82
83
text: session history entry
@@ -592,7 +593,7 @@ when its <a>time value</a> is <a>unresolved</a>.
592
593
<h4 id="document-timelines">Document timelines</h4>
593
594
594
595
A <dfn>document timeline</dfn> is a type of <a>timeline</a> that is associated
595
- with a document .
596
+ with a {{Document}} .
596
597
597
598
The <a>time values</a> of a <a>document timeline</a> are calculated
598
599
as a fixed offset from the <a>global clock</a> such that the <a>zero
@@ -603,13 +604,13 @@ signed delta known as the <dfn>origin time</dfn>.
603
604
Prior to establishing the <code> navigationStart</code> moment, the <a>document
604
605
timeline</a> is <a lt="inactive timeline">inactive</a> .
605
606
606
- A <a>document timeline</a> that is associated with a document which is not
607
+ A <a>document timeline</a> that is associated with a {{Document}} which is not
607
608
an <a>active document</a> is also considered to be
608
609
<a lt="inactive timeline">inactive</a> .
609
610
610
611
<h4 id="the-documents-default-timeline">The default document timeline</h4>
611
612
612
- Each <a>document</a> has a <a>document timeline</a> called the <dfn>default
613
+ Each {{Document}} has a <a>document timeline</a> called the <dfn>default
613
614
document timeline</dfn> .
614
615
The <a>default document timeline</a> is unique to each document and persists for
615
616
the lifetime of the document including calls to <a>document.open()</a> [[!HTML]] .
@@ -2581,9 +2582,8 @@ Note: While the time spaces themselves are not bounded, Web
2581
2582
2582
2583
In addition to these time spaces we can also refer to the
2583
2584
<em> document time space</em> which is time space of the <a>time
2584
- values</a> of the <a>default document timeline</a> of the <a
2585
- href="http://www.w3.org/TR/html5/browsers.html#active-document"> active
2586
- document</a> .
2585
+ values</a> of the <a>default document timeline</a> of the
2586
+ {{Document}} of the <a>current global object</a>
2587
2587
2588
2588
</div>
2589
2589
@@ -4728,7 +4728,7 @@ interface AnimationTimeline {
4728
4728
<h3 id="the-documenttimeline-interface">The <code>DocumentTimeline</code> interface</h3>
4729
4729
4730
4730
<a>Document timelines</a> , including the <a>default document
4731
- timeline</a> are represented in the Web Animations API by the
4731
+ timeline</a> , are represented in the Web Animations API by the
4732
4732
{{DocumentTimeline}} interface.
4733
4733
4734
4734
<pre class="idl">
@@ -4748,16 +4748,18 @@ interface DocumentTimeline : AnimationTimeline {
4748
4748
milliseconds relative to <a
4749
4749
href="http://www.w3.org/TR/navigation-timing/#dom-performancetiming-navigationstart">
4750
4750
<code> navigationStart</code></a> moment [[!NAVIGATION-TIMING]] of
4751
- the <a>active document</a> for the current <a>browsing context</a> .
4751
+ the document with which the timeline is associated .
4752
4752
4753
4753
</div>
4754
4754
4755
4755
<div class='constructors'>
4756
4756
4757
4757
: <dfn constructor for=DocumentTimeline
4758
4758
lt="DocumentTimeline(options)"> DocumentTimeline (options)</dfn>
4759
- :: Creates a new {{DocumentTimeline}} object associated with the <a>active
4760
- document</a> of the current <a>browsing context</a> .
4759
+ :: Creates a new {{DocumentTimeline}} .
4760
+ The {{Document}} with which the timeline is associated is the
4761
+ {{Document}} <a lt="document associated with a window">associated</a>
4762
+ with the {{Window}} that is the <a>current global object</a> .
4761
4763
4762
4764
<div class='parameters'>
4763
4765
@@ -4811,8 +4813,9 @@ interface Animation : EventTarget {
4811
4813
2. Run the procedure to <a>set the timeline of an animation</a> on
4812
4814
<var> animation</var> passing <var> timeline</var> as the <var> new
4813
4815
timeline</var> or, if a <var> timeline</var> argument is not provided,
4814
- passing the <a>default document timeline</a> of the <a>active
4815
- document</a> .
4816
+ passing the <a>default document timeline</a> of the {{Document}}
4817
+ <a lt="document associated with a window">associated</a> with the
4818
+ {{Window}} that is the <a>current global object</a> .
4816
4819
3. Run the procedure to <a>set the target effect of an animation</a> on
4817
4820
<var> animation</var> passing <var> source</var> as the <var> new
4818
4821
effect</var> .
@@ -4830,7 +4833,8 @@ interface Animation : EventTarget {
4830
4833
:: An optional value which, if provided, specifies the <a>timeline</a>
4831
4834
with which to associate the newly-created <a>animation</a> .
4832
4835
If not provided, the <a>default document timeline</a> of the
4833
- <a>active document</a> is used.
4836
+ {{Document}} <a lt="document associated with a window">associated</a>
4837
+ with the {{Window}} that is the <a>current global object</a> is used.
4834
4838
4835
4839
</div>
4836
4840
0 commit comments