Skip to content

Commit bb9a504

Browse files
committed
[web-animations-1][editorial] Just use double quotes for JS string values.
1 parent 0b0091e commit bb9a504

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

web-animations-1/Overview.bs

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Abstract: This specification defines a model for synchronization and
107107
features.
108108
109109
!Participate: <a href="https://github.com/w3c/csswg-drafts/tree/main/web-animations-1">Fix the text through GitHub</a>
110-
!Participate: Join the &lsquo;waapi&rsquo; channel on the <a href="https://damp-lake-50659.herokuapp.com/">Animation at Work</a> slack
110+
!Participate: Join the "waapi" channel on the <a href="https://damp-lake-50659.herokuapp.com/">Animation at Work</a> slack
111111
!Participate: IRC: <a href="ircs://irc.w3.org:6667/webanimations">#webanimations</a> on W3C's IRC
112112
113113
Repository: w3c/csswg-drafts
@@ -2342,11 +2342,11 @@ Determining the phase of an <a>animation effect</a> requires the following
23422342
definitions:
23432343

23442344
: <dfn>animation direction</dfn>
2345-
:: &lsquo;backwards&rsquo; if the effect is <a>associated with an
2345+
:: "backwards" if the effect is <a>associated with an
23462346
animation</a> <em>and</em> the associated <a>animation</a>'s
23472347
[=playback rate=] is less than zero;
23482348
in all other cases, the <a>animation direction</a> is
2349-
&lsquo;forwards&rsquo;.
2349+
"forwards".
23502350
: <dfn>before-active boundary time</dfn>
23512351
:: <code>max(min(<a>start delay</a>, <a>end time</a>), 0)</code>
23522352
: <dfn>active-after boundary time</dfn>
@@ -2359,7 +2359,7 @@ animation effect's <a>local time</a> is not <a>unresolved</a> and
23592359

23602360
1. the <a>local time</a> is less than the <a>before-active boundary time</a>,
23612361
<em>or</em>
2362-
1. the <a>animation direction</a> is &lsquo;backwards&rsquo; and the <a>local
2362+
1. the <a>animation direction</a> is "backwards" and the <a>local
23632363
time</a> is equal to the <a>before-active boundary time</a>.
23642364

23652365
An <a>animation effect</a> is in the <dfn export for="animation effect">after phase</dfn> if the
@@ -2368,7 +2368,7 @@ animation effect's <a>local time</a> is not <a>unresolved</a> and
23682368

23692369
1. the <a>local time</a> is greater than the <a>active-after boundary
23702370
time</a>, <em>or</em>
2371-
1. the <a>animation direction</a> is &lsquo;forwards&rsquo; and the <a>local
2371+
1. the <a>animation direction</a> is "forwards" and the <a>local
23722372
time</a> is equal to the <a>active-after boundary time</a>.
23732373

23742374
An <a>animation effect</a> is in the <dfn export for="animation effect">active phase</dfn> if the
@@ -2515,14 +2515,14 @@ Some examples of the these fill modes are illustrated below.
25152515
alt="Examples of various fill modes and the states produced.">
25162516
<figcaption>
25172517
Examples of various fill modes and the states produced.<br>
2518-
(a) fill mode &lsquo;none&rsquo;. The animation effect has no effect
2518+
(a) fill mode "none". The animation effect has no effect
25192519
outside its active phase.<br>
2520-
(b) fill mode &lsquo;forwards&rsquo;. After the active phase has
2520+
(b) fill mode "forwards". After the active phase has
25212521
finished, the <a>iteration progress</a> value continues to maintain
25222522
a fill value.<br>
2523-
(c) fill mode &lsquo;backwards&rsquo;. The animation effect produces
2523+
(c) fill mode "backwards". The animation effect produces
25242524
a fill value until the start of the active phase.<br>
2525-
(d) fill mode &lsquo;both&rsquo;. Both before and after the active
2525+
(d) fill mode "both". Both before and after the active
25262526
phase the animation effect produces a fill value.
25272527
</figcaption>
25282528
</figure>
@@ -3425,16 +3425,16 @@ an <a>effect target</a> for which computed property values can be calculated.
34253425
properties=] [[!CSS-WRITING-MODES-4]] based on the computed value of
34263426
'writing-mode' and/or 'direction' for the <a>effect target</a>.
34273427

3428-
For example, if <var>keyframe</var> has a value of &lsquo;12pt&rsquo;
3428+
For example, if <var>keyframe</var> has a value of "12pt"
34293429
for the 'border-width' property, the user agent may
34303430
<a>compute a property value</a>
3431-
of &lsquo;16px&rsquo; for each of the longhand properties:
3431+
of "16px" for each of the longhand properties:
34323432
'border-bottom-width', 'border-left-width', 'border-right-width', and
34333433
'border-top-width'.
34343434
As a result, <var>computed keyframe</var> would <em>not</em> have a
34353435
value for the 'border-width' property, but would instead include
34363436
each of the longhand properties, and each with the value
3437-
&lsquo;16px&rsquo;.
3437+
"16px".
34383438

34393439
If conflicts arise when expanding shorthand properties or replacing
34403440
logical properties with physical properties, apply the following rules
@@ -3644,7 +3644,7 @@ Note: this procedure permits overlapping <a>keyframes</a>.
36443644
range [0, 1].
36453645
One example is an animation that interpolates from green to yellow
36463646
but has an overshoot timing function that makes it temporarily
3647-
interpolate &lsquo;beyond&rsquo; yellow to red before settling back
3647+
interpolate "beyond" yellow to red before settling back
36483648
to yellow.
36493649

36503650
While this effect could be achieved by modification of the keyframes
@@ -3728,12 +3728,12 @@ ordering between different classes of animations or within a particular class.
37283728

37293729
<div class='informative-bg'><em>This section is non-normative</em>
37303730

3731-
For example, animations whose <a lt="animation class">class</a> is &lsquo;CSS
3732-
animation&rsquo; are defined as having a <em>higher</em> composite order than
3733-
animations whose class is &lsquo;CSS transition&rsquo; but <em>lower</em> than
3731+
For example, animations whose <a lt="animation class">class</a> is "CSS
3732+
animation" are defined as having a <em>higher</em> composite order than
3733+
animations whose class is "CSS transition" but <em>lower</em> than
37343734
other animations without a specific class.
37353735

3736-
Within the set of &lsquo;CSS animation&rsquo; objects, specialized
3736+
Within the set of "CSS animation" objects, specialized
37373737
composite ordering is defined based on the 'animation-name' property
37383738
amongst other factors.
37393739

@@ -3835,14 +3835,14 @@ depends on the <a lt="animation class">class</a> of the <a>animation</a> <a
38353835
lt="associated animation of an animation effect">associated with</a> the
38363836
effect with the highest composite order in the <a>effect stack</a> for a given
38373837
property.
3838-
By default, the specified value is added to the &lsquo;Animation
3839-
declarations&rsquo; level of the cascade ([[!css-cascade-3]]).
3838+
By default, the specified value is added to the "Animation
3839+
declarations" level of the cascade ([[!css-cascade-3]]).
38403840

38413841
<div class='informative-bg'><em>This section is non-normative</em>
38423842

38433843
For example, if the effect with the highest composite order is associated with
3844-
a &lsquo;CSS transition&rsquo;-class animation, the <a>composited value</a>
3845-
will be added to &lsquo;Transition declarations&rsquo; level of the cascade.
3844+
a "CSS transition"-class animation, the <a>composited value</a>
3845+
will be added to "Transition declarations" level of the cascade.
38463846

38473847
</div>
38483848

@@ -3999,7 +3999,7 @@ As a result of the above requirement, if an animation targets, for example,
39993999
the 'transform' property of an element, a <a>stacking context</a> will be
40004000
created for the <a>effect target</a> so long as the <a>animation</a> is in
40014001
the [=animation effect/before phase=], the [=animation effect/active phase=] or, if it has a
4002-
<a>fill mode</a> of &lsquo;forwards&rsquo; or &lsquo;both&rsquo;, the [=animation effect/after phase=].
4002+
<a>fill mode</a> of "forwards" or "both", the [=animation effect/after phase=].
40034003

40044004
</div>
40054005

@@ -4615,8 +4615,8 @@ dictionary OptionalEffectTiming {
46154615
Note that the value of {{EffectTiming/iterations}} is effectively
46164616
<em>added</em> to the {{EffectTiming/iterationStart}} such that
46174617
an animation effect with an {{EffectTiming/iterationStart}} of
4618-
&lsquo;0.5&rsquo; and {{EffectTiming/iterations}} of
4619-
&lsquo;2&rsquo; will still repeat twice however it will begin
4618+
"0.5" and {{EffectTiming/iterations}} of
4619+
"2" will still repeat twice however it will begin
46204620
and end half-way through its <a>iteration interval</a>.
46214621

46224622
{{EffectTiming/iterationStart}} values greater than
@@ -5155,7 +5155,7 @@ The {{KeyframeEffect(target, keyframes, options)|KeyframeEffect}} constructor
51555155
offers a number of approaches to creating new {{KeyframeEffect}} objects.
51565156

51575157
At its simplest, a {{KeyframeEffect}} object that changes the
5158-
&lsquo;left&rsquo; property of <code>elem</code> to 100px over three
5158+
"left" property of <code>elem</code> to 100px over three
51595159
seconds can be constructed as follows:
51605160

51615161
<div class='example'><pre class='lang-javascript'>
@@ -6165,7 +6165,7 @@ in this specification, the following invariants can be observed:
61656165
<pre class="lang-javascript">
61666166
// Initially animation.effect.getComputedTiming().localTime is 3000
61676167
animation.currentTime += 2000;
6168-
alert(animation.effect.getComputedTiming().localTime); // Displays &lsquo;5000&rsquo;</pre>
6168+
alert(animation.effect.getComputedTiming().localTime); // Displays "5000"</pre>
61696169
</div>
61706170

61716171
: Querying the computed style of a property affected by animation
@@ -6180,7 +6180,7 @@ alert(animation.effect.getComputedTiming().localTime); // Displays &lsquo;5000&r
61806180
<pre class="lang-javascript">
61816181
// Set opacity to 0 immediately
61826182
elem.animate({ opacity: 0 }, { fill: 'forwards' });
6183-
alert(window.getComputedStyle(elem).opacity); // Displays &lsquo;0&rsquo;</pre>
6183+
alert(window.getComputedStyle(elem).opacity); // Displays "0"</pre>
61846184
</div>
61856185

61866186
: Changes made within the same task are synchronized such

0 commit comments

Comments
 (0)