Skip to content

Commit 265c57e

Browse files
committed
Minor tweaks
1 parent 1734e5b commit 265c57e

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Abstract: Defines an API and markup for creating animations that are either
1111
Editor: Dean Jackson <dino@apple.com>
1212
Editor: Brian Birtles <bbirtles@mozilla.com>
1313
Editor: Botond Ballo <botond@mozilla.com>
14+
Editor: Mantaroh Yoshinaga <mantaroh@mozilla-japan.org>
1415
</pre>
1516

1617
# Introduction # {#intro}
@@ -37,10 +38,10 @@ an animation timeline; and by defining a new type of animation timeline: a
3738
This specification defines both programming interfaces for interacting with these
3839
concepts, as well as CSS markup.
3940

40-
The behaviour of the CSS markup is described in terms of the programming APIs.
41+
The behaviour of the CSS markup is described in terms of the programming interfaces.
4142
This is not intended to exclude user agents that do not support script. Such user
4243
agents are welcome to support the CSS markup, and give it the same behaviour as-if
43-
the underlying programming APIs were in place.
44+
the underlying programming interfaces were in place.
4445

4546
# Use cases # {#use-cases}
4647

@@ -161,7 +162,7 @@ partial interface AnimationTimeline {
161162
};
162163
</pre>
163164

164-
If a timeline has a specified trigger, the timeline is only activate when its
165+
If a timeline has a specified trigger, the timeline is only active when its
165166
trigger is active.
166167

167168
That is, a timeline with a trigger only becomes active when its trigger becomes
@@ -505,7 +506,7 @@ A {{ScrollTimeline}} must have a {{AnimationTimeline/trigger}}, it must be of ty
505506
{{ScrollTrigger}}, and the trigger's {{kind}} must be {{range}}.
506507

507508
The scroll container whose scrolling drives the timeline is the trigger's
508-
{{scrollSource}}. The direction of scroling that drives the timeline is the
509+
{{scrollSource}}. The direction of scrolling that drives the timeline is the
509510
trigger's {{orientation}}.
510511

511512
<div class="attributes">

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
269269
<dd class="editor p-author h-card vcard"><span class="p-name fn">Dean Jackson &lt;dino@apple.com></span>
270270
<dd class="editor p-author h-card vcard"><span class="p-name fn">Brian Birtles &lt;bbirtles@mozilla.com></span>
271271
<dd class="editor p-author h-card vcard"><span class="p-name fn">Botond Ballo &lt;botond@mozilla.com></span>
272+
<dd class="editor p-author h-card vcard"><span class="p-name fn">Mantaroh Yoshinaga &lt;mantaroh@mozilla-japan.org></span>
272273
</dl>
273274
</div>
274275
<div data-fill-with="warning"></div>
@@ -376,10 +377,10 @@ <h3 class="heading settled" data-level="1.1" id="other-specs"><span class="secno
376377
an animation timeline; and by defining a new type of animation timeline: a <a data-link-type="dfn" href="#scroll-timeline" id="ref-for-scroll-timeline-1">scroll timeline</a>.</p>
377378
<p>This specification defines both programming interfaces for interacting with these
378379
concepts, as well as CSS markup.</p>
379-
<p>The behaviour of the CSS markup is described in terms of the programming APIs.
380+
<p>The behaviour of the CSS markup is described in terms of the programming interfaces.
380381
This is not intended to exclude user agents that do not support script. Such user
381382
agents are welcome to support the CSS markup, and give it the same behaviour as-if
382-
the underlying programming APIs were in place.</p>
383+
the underlying programming interfaces were in place.</p>
383384
<h2 class="heading settled" data-level="2" id="use-cases"><span class="secno">2. </span><span class="content">Use cases</span><a class="self-link" href="#use-cases"></a></h2>
384385
<h3 class="heading settled" data-level="2.1" id="scroll-timeline-use-case"><span class="secno">2.1. </span><span class="content">ScrollTimeline</span><a class="self-link" href="#scroll-timeline-use-case"></a></h3>
385386
Here’s an example of scrollable page contents including the animated element.
@@ -458,7 +459,7 @@ <h3 class="heading settled" data-level="3.2" id="extensions-to-animationtimeline
458459
<span class="kt">readonly</span> <span class="kt">attribute</span> <a class="n" data-link-type="idl-name" href="#animationtimelinetrigger" id="ref-for-animationtimelinetrigger-2">AnimationTimelineTrigger</a>? <dfn class="nv dfn-paneled idl-code" data-dfn-for="AnimationTimeline" data-dfn-type="attribute" data-export="" data-readonly="" data-type="AnimationTimelineTrigger?" id="dom-animationtimeline-trigger">trigger</dfn>;
459460
};
460461
</pre>
461-
<p>If a timeline has a specified trigger, the timeline is only activate when its
462+
<p>If a timeline has a specified trigger, the timeline is only active when its
462463
trigger is active.</p>
463464
<p>That is, a timeline with a trigger only becomes active when its trigger becomes
464465
active <strong>and</strong> all the other criteria for the timeline becoming
@@ -780,7 +781,7 @@ <h3 class="heading settled" data-level="4.1" id="scrolltimeline-interface"><span
780781
<p>A <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport="" id="scroll-timeline">scroll timeline</dfn> is an <code class="idl"><a data-link-type="idl" href="https://www.w3.org/TR/web-animations/#animationtimeline">AnimationTimeline</a></code> whose time values are determined
781782
not by wall-clock time, but by the progress of scrolling in a <a data-link-type="dfn" href="https://drafts.csswg.org/css-overflow-3/#scroll-container">scroll container</a>.</p>
782783
<p>A <code class="idl"><a data-link-type="idl" href="#scrolltimeline" id="ref-for-scrolltimeline-2">ScrollTimeline</a></code> must have a <code class="idl"><a data-link-type="idl" href="#dom-animationtimeline-trigger" id="ref-for-dom-animationtimeline-trigger-2">trigger</a></code>, it must be of type <code class="idl"><a data-link-type="idl" href="#scrolltrigger" id="ref-for-scrolltrigger-8">ScrollTrigger</a></code>, and the trigger’s <code class="idl"><a data-link-type="idl" href="#dom-scrolltrigger-kind" id="ref-for-dom-scrolltrigger-kind-4">kind</a></code> must be <code class="idl"><a data-link-type="idl" href="#dom-scrolltriggerkind-range" id="ref-for-dom-scrolltriggerkind-range-1">range</a></code>.</p>
783-
<p>The scroll container whose scrolling drives the timeline is the trigger’s <code class="idl"><a data-link-type="idl" href="#dom-scrolltrigger-scrollsource" id="ref-for-dom-scrolltrigger-scrollsource-14">scrollSource</a></code>. The direction of scroling that drives the timeline is the
784+
<p>The scroll container whose scrolling drives the timeline is the trigger’s <code class="idl"><a data-link-type="idl" href="#dom-scrolltrigger-scrollsource" id="ref-for-dom-scrolltrigger-scrollsource-14">scrollSource</a></code>. The direction of scrolling that drives the timeline is the
784785
trigger’s <code class="idl"><a data-link-type="idl" href="#dom-scrolltrigger-orientation" id="ref-for-dom-scrolltrigger-orientation-13">orientation</a></code>.</p>
785786
<div class="attributes">
786787
<dl>

0 commit comments

Comments
 (0)