File tree Expand file tree Collapse file tree 2 files changed +10
-21
lines changed Expand file tree Collapse file tree 2 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ WPT Display: closed
4242 }
4343}
4444</pre>
45+ <pre class="link-defaults">
46+ spec:css-easing-1; type:dfn; text:easing function
47+ </pre>
4548
4649Introduction {#introduction}
4750============================
@@ -134,14 +137,11 @@ The syntax for specifying an [=easing function=] is as follows:
134137
135138<h3 id=the-linear-easing-function oldids=linear-timing-function-section>The linear easing function: ''linear''</h3>
136139
137- The <dfn export lt="linear easing function|linear timing function ">linear easing
138- function</dfn> is an identity function
139- meaning that its [=output progress value=] is equal to the
140+ The <dfn dfn-type=value for=" easing- function">linear</dfn> keyword
141+ produces an identity linear [=easing function=]
142+ whose [=output progress value=] is equal to the
140143[=input progress value=] for all inputs.
141144
142- The syntax for the [=linear easing function=] is simply the
143- <dfn dfn-type=value for=easing-function>linear</dfn> keyword.
144-
145145
146146<h3 id=cubic-bezier-easing-functions oldids=cubic-bezier-timing-functions>Cubic
147147Bézier easing functions:
Original file line number Diff line number Diff line change @@ -449,23 +449,12 @@ It returns an [=output progress value=].
449449<h3 id=the-linear-easing-keyword oldids=linear-timing-function-section>The linear easing keyword: ''linear''</h3>
450450
451451The <dfn dfn-type=value for="<easing-function>">linear</dfn> keyword
452- produces a [=linear easing function=]
453- with two [=linear easing function/points=] :
454-
455- 1. : [=linear easing point/input=]
456- :: 0
457- : [=linear easing point/output=]
458- :: 0
459-
460- 1. : [=linear easing point/input=]
461- :: 1
462- : [=linear easing point/output=]
463- :: 1
464-
465- Note: This results in an identity function,
466- meaning that its [=output progress value=] is equal to the
452+ produces an identity [=linear easing function=]
453+ whose [=output progress value=] is equal to the
467454[=input progress value=] for all inputs.
468455
456+ This gives the same result as ''linear(0, 1)'' .
457+
469458Note: Although this produces a [=linear easing function=] ,
470459uses of the keyword ''linear'' always serialize as-is, to ''linear'' .
471460Whereas the function equivalent ''linear(0, 1)'' will serialize to ''linear(0 0%, 1 100%)'' .
You can’t perform that action at this time.
0 commit comments