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: ed/algorithms/edit-context.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@
68
68
]
69
69
},
70
70
{
71
-
"html": "<dl>\n <dt>Input</dt>\n <dd><var>editContext</var>, an <a data-xref-type=\"_IDL_\" data-link-type=\"idl\" data-lt=\"EditContext\" href=\"https://w3c.github.io/edit-context/#dom-editcontext\" class=\"internalDFN\" id=\"ref-for-dom-editcontext-26\"><code>EditContext</code></a></dd>\n <dd><var>text</var>, a string</dd>\n <dd><var>textFormats</var>, an array of <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-format\" class=\"internalDFN\" id=\"ref-for-dfn-text-format-2\">text format</a>s from the <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-input-service\" class=\"internalDFN\" id=\"ref-for-dfn-text-input-service-17\">Text Input Service</a></dd>\n <dd><var>selectionStart</var>, the new position for the start of the selection</dd>\n <dd><var>selectionEnd</var>, the new position for the end of the selection</dd>\n <dd><var>isComposing</var>, a boolean indicating whether composition should be active at the end of the update</dd>\n <dd><var>replacementRangeStart</var>, the start position of the current composition (0 if there is no composition)</dd>\n <dd><var>replacementRangeEnd</var>, the end position of the current composition (0 if there is no composition)</dd>\n <dt>Output</dt>\n <dd>None</dd>\n </dl>",
71
+
"html": "<dl>\n <dt>Input</dt>\n <dd><var>editContext</var>, an <a data-xref-type=\"_IDL_\" data-link-type=\"idl\" data-lt=\"EditContext\" href=\"https://w3c.github.io/edit-context/#dom-editcontext\" class=\"internalDFN\" id=\"ref-for-dom-editcontext-26\"><code>EditContext</code></a></dd>\n <dd><var>text</var>, a string</dd>\n <dd><var>textFormats</var>, an array of <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-format\" class=\"internalDFN\" id=\"ref-for-dfn-text-format-2\">text format</a>s from the <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-input-service\" class=\"internalDFN\" id=\"ref-for-dfn-text-input-service-16\">Text Input Service</a></dd>\n <dd><var>selectionStart</var>, the new position for the start of the selection</dd>\n <dd><var>selectionEnd</var>, the new position for the end of the selection</dd>\n <dd><var>isComposing</var>, a boolean indicating whether composition should be active at the end of the update</dd>\n <dd><var>replacementRangeStart</var>, the start position of the current composition (0 if there is no composition)</dd>\n <dd><var>replacementRangeEnd</var>, the end position of the current composition (0 if there is no composition)</dd>\n <dt>Output</dt>\n <dd>None</dd>\n </dl>",
72
72
"rationale": ".algorithm",
73
73
"steps": [
74
74
{
@@ -212,7 +212,7 @@
212
212
]
213
213
},
214
214
{
215
-
"html": "<dl>\n <dt>Input</dt>\n <dd><var>editContext</var>, an <a data-xref-type=\"_IDL_\" data-link-type=\"idl\" data-lt=\"EditContext\" href=\"https://w3c.github.io/edit-context/#dom-editcontext\" class=\"internalDFN\" id=\"ref-for-dom-editcontext-28\"><code>EditContext</code></a></dd>\n <dd><var>textFormats</var>, an array of <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-format\" class=\"internalDFN\" id=\"ref-for-dfn-text-format-3\">text format</a>s from the <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-input-service\" class=\"internalDFN\" id=\"ref-for-dfn-text-input-service-19\">Text Input Service</a></dd>\n <dt>Output</dt>\n <dd>None</dd>\n </dl>",
215
+
"html": "<dl>\n <dt>Input</dt>\n <dd><var>editContext</var>, an <a data-xref-type=\"_IDL_\" data-link-type=\"idl\" data-lt=\"EditContext\" href=\"https://w3c.github.io/edit-context/#dom-editcontext\" class=\"internalDFN\" id=\"ref-for-dom-editcontext-28\"><code>EditContext</code></a></dd>\n <dd><var>textFormats</var>, an array of <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-format\" class=\"internalDFN\" id=\"ref-for-dfn-text-format-3\">text format</a>s from the <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/edit-context/#dfn-text-input-service\" class=\"internalDFN\" id=\"ref-for-dfn-text-input-service-18\">Text Input Service</a></dd>\n <dt>Output</dt>\n <dd>None</dd>\n </dl>",
"html": "When getStats is called, the user agent MUST run the following steps:",
974
-
"rationale": "let",
973
+
"html": "<dl>\n <dt data-md=\"\"><dfn class=\"dfn-paneled idl-code has-dfn-panel\" data-dfn-for=\"WebTransport\" data-dfn-type=\"method\" data-export=\"\" id=\"dom-webtransport-getstats\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\"><code>getStats()</code></dfn>\n </dt><dd data-md=\"\">\n <p>Gathers stats for this <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/webtransport/#webtransport\" id=\"ref-for-webtransport②①\">WebTransport</a></code>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webtransport/#underlying-connection\" id=\"ref-for-underlying-connection\">underlying connection</a>\n and reports the result asynchronously.</p>\n <p>When getStats is called, the user agent MUST run the following steps:</p>\n\n </dd></dl>",
974
+
"rationale": ".algorithm",
975
975
"steps": [
976
976
{
977
977
"html": "<p>Let <var>transport</var> be <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this③④\">this</a>.</p>"
@@ -998,6 +998,9 @@
998
998
{
999
999
"html": "<p>Let <var>gatheredStats</var> be the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list\" id=\"ref-for-list\">list</a> of stats specific to the\n <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webtransport/#underlying-connection\" id=\"ref-for-underlying-connection①\">underlying connection</a> needed to populate the\n <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-dictionary-member\" id=\"ref-for-dfn-dictionary-member\">dictionary members</a> of <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/webtransport/#dictdef-webtransportconnectionstats\" id=\"ref-for-dictdef-webtransportconnectionstats①\">WebTransportConnectionStats</a></code> and\n <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/webtransport/#dictdef-webtransportdatagramstats\" id=\"ref-for-dictdef-webtransportdatagramstats\">WebTransportDatagramStats</a></code> accurately.</p>"
1000
1000
},
1001
+
{
1002
+
"html": "<p>If <var>transport</var>.<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/webtransport/#dom-webtransport-newconnection-slot\" id=\"ref-for-dom-webtransport-newconnection-slot②\">[[NewConnection]]</a></code> is \"<code>no</code>\", then remove from\n <var>gatheredStats</var> all stats not marked as <a data-link-type=\"dfn\" href=\"https://w3c.github.io/webtransport/#pooled-connection-stat\" id=\"ref-for-pooled-connection-stat\">pooled connection stats</a>.</p>"
1003
+
},
1001
1004
{
1002
1005
"html": "<a data-link-type=\"dfn\" href=\"https://w3c.github.io/webtransport/#webtransport-queue-a-network-task\" id=\"ref-for-webtransport-queue-a-network-task①①\">Queue a network task</a> with <var>transport</var> to run the following steps:",
0 commit comments