File tree 2 files changed +10
-21
lines changed
2 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ WPT Display: closed
42
42
}
43
43
}
44
44
</pre>
45
+ <pre class="link-defaults">
46
+ spec:css-easing-1; type:dfn; text:easing function
47
+ </pre>
45
48
46
49
Introduction {#introduction}
47
50
============================
@@ -134,14 +137,11 @@ The syntax for specifying an [=easing function=] is as follows:
134
137
135
138
<h3 id=the-linear-easing-function oldids=linear-timing-function-section>The linear easing function: ''linear''</h3>
136
139
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
140
143
[=input progress value=] for all inputs.
141
144
142
- The syntax for the [=linear easing function=] is simply the
143
- <dfn dfn-type=value for=easing-function>linear</dfn> keyword.
144
-
145
145
146
146
<h3 id=cubic-bezier-easing-functions oldids=cubic-bezier-timing-functions>Cubic
147
147
Bézier easing functions:
Original file line number Diff line number Diff line change @@ -449,23 +449,12 @@ It returns an [=output progress value=].
449
449
<h3 id=the-linear-easing-keyword oldids=linear-timing-function-section>The linear easing keyword: ''linear''</h3>
450
450
451
451
The <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
467
454
[=input progress value=] for all inputs.
468
455
456
+ This gives the same result as ''linear(0, 1)'' .
457
+
469
458
Note: Although this produces a [=linear easing function=] ,
470
459
uses of the keyword ''linear'' always serialize as-is, to ''linear'' .
471
460
Whereas 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