Skip to content

Commit b696f17

Browse files
author
reffy-bot
committed
Update of TR report from new reffy run
Using reffy commit 18.0.0.
1 parent 8e64652 commit b696f17

29 files changed

+35409
-15539
lines changed

tr/algorithms/pointerevents3.json

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

tr/algorithms/vibration.json

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
{
22
"spec": {
3-
"title": "Vibration API (Second Edition)",
3+
"title": "Vibration API",
44
"url": "https://www.w3.org/TR/vibration/"
55
},
66
"algorithms": [
77
{
88
"name": "processing vibration patterns",
99
"href": "https://www.w3.org/TR/vibration/#dfn-processing-vibration-patterns",
10-
"html": "The rules for <dfn data-dfn-type=\"dfn\" id=\"dfn-processing-vibration-patterns\">processing vibration patterns</dfn> are as given in the following algorithm:",
10+
"html": "The rules for <dfn id=\"dfn-processing-vibration-patterns\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">processing vibration patterns</dfn> are as given in\n the following algorithm:",
1111
"rationale": "let",
1212
"steps": [
1313
{
14-
"html": "Let <var>pattern</var> be the first method argument of the\n <code><a href=\"https://www.w3.org/TR/vibration/#idl-def-navigator-vibrate(vibratepattern)\" class=\"internalDFN\" data-link-type=\"dfn\"><code>vibrate</code></a>()</code> method."
14+
"html": "Let <var>pattern</var> be the first method argument of the\n <code><a href=\"https://www.w3.org/TR/vibration/#dom-navigator-vibrate\" class=\"internalDFN\" data-link-type=\"idl\" id=\"ref-for-dom-navigator-vibrate-2\"><code>vibrate</code></a>()</code> method."
1515
},
1616
{
17-
"html": "Let <var>valid pattern</var> be the result of passing\n <var>pattern</var> to <a href=\"https://www.w3.org/TR/vibration/#dfn-validate-and-normalize\" class=\"internalDFN\" data-link-type=\"dfn\">validate and normalize</a>."
17+
"html": "Let <var>valid pattern</var> be the result of passing\n <var>pattern</var> to <a href=\"https://www.w3.org/TR/vibration/#dfn-validate-and-normalize\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-validate-and-normalize-1\">validate and normalize</a>."
1818
},
1919
{
20-
"html": "If the result of running the steps to <a href=\"https://w3c.github.io/page-visibility/#dfn-steps-to-determine-the-visibility-state\">\n determine the visibility state</a> [<cite><a class=\"bibref\" href=\"https://www.w3.org/TR/vibration/#bib-PAGE-VISIBILITY-2\">PAGE-VISIBILITY-2</a></cite>] is not <code>visible</code>, then return false and terminate these steps."
20+
"html": "If the <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-document\">document</a>'s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/interaction.html#visibility-state\">visibility state</a> is not \n <code>visible</code>, then return false and terminate these steps."
2121
},
2222
{
23-
"html": "<a href=\"https://www.w3.org/TR/vibration/#dfn-perform-vibration\" class=\"internalDFN\" data-link-type=\"dfn\">Perform vibration</a> with <var>valid pattern</var>."
23+
"html": "<a href=\"https://www.w3.org/TR/vibration/#dfn-perform-vibration\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-perform-vibration-1\">Perform vibration</a> with <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>'s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">relevant global object\n </a> and <var>valid pattern</var>."
2424
}
2525
]
2626
},
2727
{
2828
"name": "validate and normalize",
2929
"href": "https://www.w3.org/TR/vibration/#dfn-validate-and-normalize",
30-
"html": "To <dfn data-dfn-type=\"dfn\" id=\"dfn-validate-and-normalize\">validate and normalize</dfn> a vibration pattern given\n <var>pattern</var>, run these steps:",
30+
"html": "To <dfn id=\"dfn-validate-and-normalize\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">validate and normalize</dfn> a <a href=\"https://www.w3.org/TR/vibration/#dfn-vibration-pattern\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-vibration-pattern-1\">vibration pattern</a> given\n <var>pattern</var>, run these steps:",
3131
"rationale": "if",
3232
"steps": [
3333
{
34-
"html": "If <var>pattern</var> is a list, proceed to the next step. Otherwise run the following substeps:",
34+
"html": "If <var>pattern</var> is a list, proceed to the next step.\n Otherwise run the following substeps:",
3535
"rationale": "let",
3636
"steps": [
3737
{
@@ -43,13 +43,13 @@
4343
]
4444
},
4545
{
46-
"html": "Let <var>max length</var> be an implementation-dependent maximum length of <var>pattern</var>."
46+
"html": "Let <var>max length</var> have the value 10."
4747
},
4848
{
4949
"html": "If the length of <var>pattern</var> is greater than <var>max\n length</var>, truncate <var>pattern</var>, leaving only the first <var>\n max length</var> entries."
5050
},
5151
{
52-
"html": "Let <var>max duration</var> be an implementation-dependent maximum duration for a single vibration entry in a <var>pattern</var>."
52+
"html": "Let <var>max duration</var> have the value 10000."
5353
},
5454
{
5555
"html": "For each entry in <var>pattern</var> whose value is greater than\n <var>max duration</var>, set the entry's value to <var>max\n duration</var>."
@@ -62,33 +62,36 @@
6262
{
6363
"name": "perform vibration",
6464
"href": "https://www.w3.org/TR/vibration/#dfn-perform-vibration",
65-
"html": "To <dfn data-dfn-type=\"dfn\" id=\"dfn-perform-vibration\">perform vibration</dfn> using <var>pattern</var>, run these steps:",
66-
"rationale": "terminate these steps",
65+
"html": "To <dfn id=\"dfn-perform-vibration\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">perform vibration</dfn> using a <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#global-object\">global object</a>\n <var>global</var> and a <a href=\"https://www.w3.org/TR/vibration/#dfn-vibration-pattern\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-vibration-pattern-2\">vibration pattern</a> <var>pattern</var>,\n run these steps:",
66+
"rationale": "if",
6767
"steps": [
6868
{
69-
"html": "An implementation <em class=\"rfc2119\" title=\"MAY\">MAY</em> return false and terminate these steps."
69+
"html": "If <var>global</var> does not have <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/interaction.html#sticky-activation\">sticky activation</a>,\n return false and terminate these steps."
70+
},
71+
{
72+
"html": "An implementation <em class=\"rfc2119\">MAY</em> return false and terminate these steps."
7073
},
7174
{
72-
"html": "If another instance of the <a href=\"https://www.w3.org/TR/vibration/#dfn-perform-vibration\" class=\"internalDFN\" data-link-type=\"dfn\">perform vibration</a> algorithm is already running, run the following substeps:",
75+
"html": "If another instance of the <a href=\"https://www.w3.org/TR/vibration/#dfn-perform-vibration\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-perform-vibration-2\">perform vibration</a> algorithm is\n already running, run the following substeps:",
7376
"rationale": "abort",
7477
"steps": [
7578
{
76-
"html": "Abort that other instance of the <a href=\"https://www.w3.org/TR/vibration/#dfn-perform-vibration\" class=\"internalDFN\" data-link-type=\"dfn\">perform vibration</a> algorithm, if any."
79+
"html": "Abort that other instance of the <a href=\"https://www.w3.org/TR/vibration/#dfn-perform-vibration\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-perform-vibration-3\">perform vibration</a>\n algorithm, if any."
7780
},
7881
{
79-
"html": "If <var>pattern</var> is an empty list, contains a single entry with a value of 0, or if the device is unable to vibrate, then return true and terminate these steps."
82+
"html": "If <var>pattern</var> is an empty list, contains a single entry\n with a value of 0, or if the device is unable to vibrate, then\n return true and terminate these steps."
8083
}
8184
]
8285
},
8386
{
8487
"html": "Return true, and then continue running these steps asynchronously."
8588
},
8689
{
87-
"html": "For each <var>time</var> in <var>pattern</var>, run the following substeps:",
90+
"html": "For each <var>time</var> in <var>pattern</var>, run the following\n substeps:",
8891
"rationale": "if",
8992
"steps": [
9093
{
91-
"html": "If the index of <var>time</var> is even (the first entry has index 0), vibrate the device for <var>time</var> milliseconds."
94+
"html": "If the index of <var>time</var> is even (the first entry has\n index 0), vibrate the device for <var>time</var> milliseconds."
9295
},
9396
{
9497
"html": "Otherwise wait for <var>time</var> milliseconds."

0 commit comments

Comments
 (0)