You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tr/algorithms/mediasession.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -279,7 +279,7 @@
279
279
"html": "Update the user agent capture state UI according to <var>captureKind</var> and <var>active</var>."
280
280
},
281
281
{
282
-
"html": "Resolve <var>p</var> with <code>undefined</code>."
282
+
"html": "<a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\" id=\"ref-for-queue-a-task③\">Queue a task</a> using the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#user-interaction-task-source\" id=\"ref-for-user-interaction-task-source②\">user interaction task source</a> to resolve <var>p</var> with <code>undefined</code>."
283
283
},
284
284
{
285
285
"html": "If <var>applyPausePolicy</var> is <code>true</code>, run the following\n substeps:",
@@ -289,7 +289,7 @@
289
289
"html": "Let <var>newMutedState</var> be <code>true</code> if <var>active</var> is <code>false</code> and <code>false</code> otherwise."
290
290
},
291
291
{
292
-
"html": "For each <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediastreamtrack\" id=\"ref-for-dom-mediastreamtrack⑤\">MediaStreamTrack</a></code> whose source is of type <var>captureKind</var>, <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\" id=\"ref-for-queue-a-task③\">queue a task</a> to <a data-link-type=\"abstract-op\" href=\"https://www.w3.org/TR/mediacapture-streams/#set-track-muted\" id=\"ref-for-set-track-muted①\">set a track’s muted state</a> to <var>newMutedState</var>."
292
+
"html": "For each <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://www.w3.org/TR/mediacapture-streams/#dom-mediastreamtrack\" id=\"ref-for-dom-mediastreamtrack⑤\">MediaStreamTrack</a></code> whose source is of type <var>captureKind</var>, <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\" id=\"ref-for-queue-a-task④\">queue a task</a>using the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#user-interaction-task-source\" id=\"ref-for-user-interaction-task-source③\">user interaction task source</a> to <a data-link-type=\"abstract-op\" href=\"https://www.w3.org/TR/mediacapture-streams/#set-track-muted\" id=\"ref-for-set-track-muted①\">set a track’s muted state</a> to <var>newMutedState</var>."
293
293
}
294
294
]
295
295
}
@@ -419,7 +419,7 @@
419
419
"html": "If the instance has no associated <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/mediasession/#mediametadata-media-session\" id=\"ref-for-mediametadata-media-session③\">media session</a>, abort\n these steps."
420
420
},
421
421
{
422
-
"html": "Otherwise, <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\" id=\"ref-for-queue-a-task④\">queue a task</a> to run the following substeps:",
422
+
"html": "Otherwise, <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\" id=\"ref-for-queue-a-task⑤\">queue a task</a> to run the following substeps:",
Copy file name to clipboardExpand all lines: tr/algorithms/selection-api.json
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,37 @@
221
221
"html": "Otherwise, set <a data-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\">this</a> <a href=\"https://www.w3.org/TR/selection-api/#dfn-selection\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-selection-30\">selection</a>'s <a href=\"https://www.w3.org/TR/selection-api/#dfn-focus\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-focus-18\">focus</a> and <a href=\"https://www.w3.org/TR/selection-api/#dfn-anchor\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-anchor-15\">anchor</a> to the location\n as if the user had requested to move selection by <var>granularity</var>."
"html": "To <dfn id=\"dfn-schedule-a-selectionchange-event\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">schedule a selectionchange event</dfn> on a node <var>target</var>, run these steps:",
229
+
"rationale": "if",
230
+
"steps": [
231
+
{
232
+
"html": "If <var>target</var>'s <a href=\"https://www.w3.org/TR/selection-api/#dfn-has-scheduled-selectionchange-event\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-has-scheduled-selectionchange-event-1\">has scheduled selectionchange event</a> is true,\n abort these steps."
233
+
},
234
+
{
235
+
"html": "<a data-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\">Queue a task</a> on the <a data-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#user-interaction-task-source\">user interaction task source</a> to\n <a href=\"https://www.w3.org/TR/selection-api/#dfn-fire-a-selectionchange-event\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-fire-a-selectionchange-event-1\">fire a selectionchange event</a> on <var>target</var>."
"html": "To <dfn id=\"dfn-fire-a-selectionchange-event\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">fire a selectionchange event</dfn> on a node <var>target</var>, run these steps:",
"html": "If <var>target</var> is an element, <a data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-event-fire\">fire an event</a> named <code>selectionchange</code>,\n which bubbles and not cancelable, at <var>target</var>."
250
+
},
251
+
{
252
+
"html": "Otherwise, if <var>target</var> is a document, <a data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-event-fire\">fire an event</a> named <code>selectionchange</code>,\n which does not bubble and not cancelable, at <var>target</var>."
0 commit comments