Skip to content

Commit 6c8235f

Browse files
committed
[css-easing][editorial] Add WPT annotations, w3c#10688
1 parent 9af0cd6 commit 6c8235f

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

css-easing-1/Overview.bs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Abstract: This CSS module describes a way for authors to define a transformation
2323
2424
!Participate: IRC: <a href="ircs://irc.w3.org:6667/css">#css</a> on W3C's IRC
2525
Repository: w3c/csswg-drafts
26+
WPT Path Prefix: css/css-easing/
27+
WPT Display: closed
2628
!Tests: <a href="https://github.com/web-platform-tests/wpt/tree/master/css/css-easing">web-platform-tests css/css-easing</a>
2729
</pre>
2830

@@ -124,6 +126,11 @@ The syntax for specifying an [=easing function=] is as follows:
124126
<<cubic-bezier-easing-function>> |
125127
<<step-easing-function>></div>
126128

129+
<wpt>
130+
timing-functions-syntax-computed.html
131+
timing-functions-syntax-invalid.html
132+
timing-functions-syntax-valid.html
133+
</wpt>
127134

128135
<h3 id=the-linear-easing-function oldids=linear-timing-function-section>The linear easing function: ''linear''</h3>
129136

@@ -236,6 +243,9 @@ infinitely using tangent of the curve at the closest endpoint as follows:
236243
1. Otherwise, let the [=output progress value=] be one for all
237244
[=input progress values=] in the range (1, &infin;].
238245

246+
<wpt>
247+
cubic-bezier-timing-functions-output.html
248+
</wpt>
239249

240250
<h3 id=step-easing-functions oldids=step-timing-functions>Step easing functions:
241251
''step-start'', ''step-end'', ''steps()''</h3>
@@ -257,6 +267,10 @@ It has following syntax:
257267
''jump-none'' | ''jump-both'' |
258268
''start'' | ''end''</div>
259269

270+
<wpt>
271+
step-timing-functions-syntax.html
272+
</wpt>
273+
260274
The meaning of each value is as follows:
261275

262276
<dl dfn-type=value dfn-for="<step-easing-function>">
@@ -421,6 +435,9 @@ and [=before flag=] as follows:
421435
1. The [=output progress value=] is <code><var>current step</var> /
422436
|jumps|</code>.
423437

438+
<wpt>
439+
step-timing-functions-output.html
440+
</wpt>
424441

425442
<h3 id=serialization oldids=serializing-a-timing-function>Serialization</h3>
426443

@@ -442,6 +459,10 @@ defined in [[CSSOM]] with the following additional requirements:
442459
2. Otherwise, serialize as <a lt="steps()"
443460
function>steps(&lt;integer&gt;, &lt;step-position&gt;)</a>.
444461

462+
<wpt>
463+
timing-functions-syntax-computed.html
464+
</wpt>
465+
445466
Privacy and Security Considerations {#priv-sec}
446467
===================================
447468

@@ -479,3 +500,9 @@ The editors would also like to thank Douglas Stockwell, Steve Block, Tab Atkins,
479500
Rachel Nabors, Martin Pitt, and the <a
480501
href="https://damp-lake-50659.herokuapp.com/">Animation at Work</a> slack
481502
community for their feedback and contributions.
503+
504+
<!-- Level 2 tests -->
505+
<wpt hidden>
506+
linear-timing-functions-output.html
507+
linear-timing-functions-syntax.html
508+
</wpt>

css-easing-2/Overview.bs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Editor: Dean Jackson, Apple Inc https://www.apple.com/, dino@apple.com, w3cid 42
1212
Editor: Matt Rakow, Microsoft, w3cid 62267
1313
Former Editor: Shane Stephens, Google, shans@google.com, w3cid 47691
1414
Former Editor: Jake Archibald, Google, jakearchibald@google.com, w3cid 76394
15+
Implementation Report: https://wpt.fyi/results/css/css-easing
1516
Markup Shorthands: markdown yes
1617
Indent: 2
1718
@@ -24,6 +25,9 @@ Abstract: This CSS module describes a way for authors to define a transformation
2425
2526
!Participate: IRC: <a href="ircs://irc.w3.org:6667/css">#css</a> on W3C's IRC
2627
Repository: w3c/csswg-drafts
28+
WPT Path Prefix: css/css-easing/
29+
WPT Display: closed
30+
!Tests: <a href="https://github.com/web-platform-tests/wpt/tree/master/css/css-easing">web-platform-tests css/css-easing</a>
2731
</pre>
2832

2933
<pre class=biblio>
@@ -137,6 +141,12 @@ The syntax for specifying an [=easing function=] is as follows:
137141
<<cubic-bezier-easing-function>> |
138142
<<step-easing-function>></div>
139143

144+
<wpt>
145+
timing-functions-syntax-computed.html
146+
timing-functions-syntax-invalid.html
147+
timing-functions-syntax-valid.html
148+
</wpt>
149+
140150
## The linear easing function: ''linear()'' ## {#the-linear-easing-function}
141151

142152
A <dfn export>linear easing function</dfn>
@@ -175,6 +185,10 @@ A [=linear easing function=] has the following syntax:
175185
<dfn>&lt;linear-stop-length></dfn> = <<percentage>>{1,2}
176186
</pre>
177187

188+
<wpt>
189+
linear-timing-functions-syntax.html
190+
</wpt>
191+
178192
''linear()'' is parsed into a [=linear easing function=]
179193
by calling [=create a linear easing function=],
180194
passing in its <<linear-stop-list>> as a [=/list=] of <<linear-stop>>s.
@@ -322,6 +336,9 @@ It returns an [=output progress value=].
322336

323337
1. Return |pointA|'s [=linear easing point/output=] plus |outputFromLastPoint|.
324338

339+
<wpt>
340+
linear-timing-functions-output.html
341+
</wpt>
325342
</section>
326343

327344
### Examples ### {#linear-easing-function-examples}
@@ -550,6 +567,9 @@ infinitely using tangent of the curve at the closest endpoint as follows:
550567
1. Otherwise, let the [=output progress value=] be one for all
551568
[=input progress values=] in the range (1, &infin;].
552569

570+
<wpt>
571+
cubic-bezier-timing-functions-output.html
572+
</wpt>
553573

554574
<h3 id=step-easing-functions oldids=step-timing-functions>Step easing functions:
555575
''step-start'', ''step-end'', ''steps()''</h3>
@@ -571,6 +591,10 @@ It has following syntax:
571591
''jump-none'' | ''jump-both'' |
572592
''start'' | ''end''</div>
573593

594+
<wpt>
595+
step-timing-functions-syntax.html
596+
</wpt>
597+
574598
The meaning of each value is as follows:
575599

576600
<dl dfn-type=value dfn-for="<step-easing-function>">
@@ -735,6 +759,9 @@ and [=before flag=] as follows:
735759
1. The [=output progress value=] is <code><var>current step</var> /
736760
|jumps|</code>.
737761

762+
<wpt>
763+
step-timing-functions-output.html
764+
</wpt>
738765

739766
<h3 id=serialization oldids=serializing-a-timing-function>Serialization</h3>
740767

@@ -759,6 +786,10 @@ defined in [[CSSOM]] with the following additional requirements:
759786
* A [=linear easing function=] created via ''linear()''
760787
is serialized by getting its [=linear easing function/serialized computed value=].
761788

789+
<wpt>
790+
timing-functions-syntax-computed.html
791+
</wpt>
792+
762793
Privacy and Security Considerations {#priv-sec}
763794
===================================
764795

0 commit comments

Comments
 (0)