|
1594 | 1594 | { |
1595 | 1595 | "name": "algorithm for extracting a character encoding from a meta element", |
1596 | 1596 | "href": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#algorithm-for-extracting-a-character-encoding-from-a-meta-element", |
1597 | | - "html": "The <dfn id=\"algorithm-for-extracting-a-character-encoding-from-a-meta-element\">algorithm for extracting a character encoding from a <code>meta</code> element</dfn>,\n given a string <var>s</var>, is as follows. It either returns a character encoding or\n nothing.", |
| 1597 | + "html": "The <dfn id=\"algorithm-for-extracting-a-character-encoding-from-a-meta-element\">algorithm for extracting a character encoding from a <code>meta</code> element</dfn>,\n given a string <var>s</var>, is as follows. It returns either a character encoding or\n nothing.", |
1598 | 1598 | "rationale": "let", |
1599 | 1599 | "steps": [ |
1600 | 1600 | { |
@@ -13553,10 +13553,10 @@ |
13553 | 13553 | "rationale": "if", |
13554 | 13554 | "steps": [ |
13555 | 13555 | { |
13556 | | - "html": "<p>If <var>this</var> does not have an <code id=\"the-dialog-element:attr-dialog-open-9\"><a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-open\">open</a></code>\n attribute, then return.</p>" |
| 13556 | + "html": "<p>If <a id=\"the-dialog-element:this-20\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a> does not have an <code id=\"the-dialog-element:attr-dialog-open-9\"><a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-open\">open</a></code>\n attribute, then return.</p>" |
13557 | 13557 | }, |
13558 | 13558 | { |
13559 | | - "html": "<p><a id=\"the-dialog-element:assert-2\" href=\"https://infra.spec.whatwg.org/#assert\" data-x-internal=\"assert\">Assert</a>: <var>this</var>'s <a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#dialog-close-watcher\" id=\"the-dialog-element:dialog-close-watcher\">close\n watcher</a> is not null.</p>" |
| 13559 | + "html": "<p><a id=\"the-dialog-element:assert-2\" href=\"https://infra.spec.whatwg.org/#assert\" data-x-internal=\"assert\">Assert</a>: <a id=\"the-dialog-element:this-21\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>'s <a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#dialog-close-watcher\" id=\"the-dialog-element:dialog-close-watcher\">close\n watcher</a> is not null.</p>" |
13560 | 13560 | }, |
13561 | 13561 | { |
13562 | 13562 | "html": "<p>Set <var>dialog</var>'s <a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#enable-close-watcher-for-requestclose()\" id=\"the-dialog-element:enable-close-watcher-for-requestclose()\">enable close watcher for <code>requestClose()</code></a> to true.</p>" |
|
13565 | 13565 | "html": "<p>If <var>returnValue</var> is not given, then set it to null.</p>" |
13566 | 13566 | }, |
13567 | 13567 | { |
13568 | | - "html": "<p>Set <var>this</var>'s <a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#request-close-return-value\" id=\"the-dialog-element:request-close-return-value\">request close return value</a> to\n <var>returnValue</var>.</p>" |
| 13568 | + "html": "<p>Set <a id=\"the-dialog-element:this-22\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>'s <a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#request-close-return-value\" id=\"the-dialog-element:request-close-return-value\">request close return value</a> to\n <var>returnValue</var>.</p>" |
13569 | 13569 | }, |
13570 | 13570 | { |
13571 | 13571 | "html": "<p><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#close-watcher-request-close\" id=\"the-dialog-element:close-watcher-request-close\">Request to close</a> <var>dialog</var>'s\n <a href=\"https://html.spec.whatwg.org/multipage/interactive-elements.html#dialog-close-watcher\" id=\"the-dialog-element:dialog-close-watcher-2\">close watcher</a> with false.</p>" |
|
20880 | 20880 | { |
20881 | 20881 | "name": "check popover validity", |
20882 | 20882 | "href": "https://html.spec.whatwg.org/multipage/popover.html#check-popover-validity", |
20883 | | - "html": "To <dfn id=\"check-popover-validity\">check popover validity</dfn> for an <a href=\"https://html.spec.whatwg.org/multipage/infrastructure.html#html-elements\" id=\"the-popover-attribute:html-elements-23\">HTML element</a>\n <var>element</var> given a boolean <var>expectedToBeShowing</var>, a boolean\n <var>throwExceptions</var>, and a <code id=\"the-popover-attribute:document-7\"><a href=\"https://html.spec.whatwg.org/multipage/dom.html#document\">Document</a></code> or null <var>expectedDocument</var>\n perform the following steps. They throw an exception or return a boolean.", |
| 20883 | + "html": "To <dfn id=\"check-popover-validity\">check popover validity</dfn> for an <a href=\"https://html.spec.whatwg.org/multipage/infrastructure.html#html-elements\" id=\"the-popover-attribute:html-elements-23\">HTML element</a>\n <var>element</var> given a boolean <var>expectedToBeShowing</var>, a boolean\n <var>throwExceptions</var>, and a <code id=\"the-popover-attribute:document-7\"><a href=\"https://html.spec.whatwg.org/multipage/dom.html#document\">Document</a></code> or null <var>expectedDocument</var>,\n perform the following steps. They throw an exception or return a boolean.", |
20884 | 20884 | "rationale": "if", |
20885 | 20885 | "steps": [ |
20886 | 20886 | { |
|
22139 | 22139 | { |
22140 | 22140 | "name": "parse a sandboxing directive", |
22141 | 22141 | "href": "https://html.spec.whatwg.org/multipage/browsers.html#parse-a-sandboxing-directive", |
22142 | | - "html": "When the user agent is to <dfn id=\"parse-a-sandboxing-directive\" data-export=\"\">parse a sandboxing directive</dfn>, given a string\n <var>input</var>, a <a href=\"https://html.spec.whatwg.org/multipage/browsers.html#sandboxing-flag-set\" id=\"sandboxing:sandboxing-flag-set\">sandboxing flag set</a> <var>output</var>, it must run the following\n steps:", |
| 22142 | + "html": "When the user agent is to <dfn id=\"parse-a-sandboxing-directive\" data-export=\"\">parse a sandboxing directive</dfn>, given a string\n <var>input</var> and a <a href=\"https://html.spec.whatwg.org/multipage/browsers.html#sandboxing-flag-set\" id=\"sandboxing:sandboxing-flag-set\">sandboxing flag set</a> <var>output</var>, it must run the following\n steps:", |
22143 | 22143 | "rationale": "split", |
22144 | 22144 | "steps": [ |
22145 | 22145 | { |
|
27733 | 27733 | { |
27734 | 27734 | "name": "hand-off to external software", |
27735 | 27735 | "href": "https://html.spec.whatwg.org/multipage/browsing-the-web.html#hand-off-to-external-software", |
27736 | | - "html": "To <dfn id=\"hand-off-to-external-software\">hand-off to external software</dfn> given a <a id=\"non-fetch-schemes-and-external-software:url-2\" href=\"https://url.spec.whatwg.org/#concept-url\" data-x-internal=\"url\">URL</a> or <a href=\"https://fetch.spec.whatwg.org/#concept-response\" id=\"non-fetch-schemes-and-external-software:concept-response\" data-x-internal=\"concept-response\">response</a> <var>resource</var>, a <a id=\"non-fetch-schemes-and-external-software:navigable-2\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#navigable\">navigable</a>\n <var>navigable</var>, a <a id=\"non-fetch-schemes-and-external-software:sandboxing-flag-set\" href=\"https://html.spec.whatwg.org/multipage/browsers.html#sandboxing-flag-set\">sandboxing flag set</a> <var>sandboxFlags</var>, a boolean\n <var>hasTransientActivation</var>, and an <a id=\"non-fetch-schemes-and-external-software:concept-origin-2\" href=\"https://html.spec.whatwg.org/multipage/browsers.html#concept-origin\">origin</a> <var>initiatorOrigin</var> user\n agents should:", |
| 27736 | + "html": "To <dfn id=\"hand-off-to-external-software\">hand-off to external software</dfn> given a <a id=\"non-fetch-schemes-and-external-software:url-2\" href=\"https://url.spec.whatwg.org/#concept-url\" data-x-internal=\"url\">URL</a> or <a href=\"https://fetch.spec.whatwg.org/#concept-response\" id=\"non-fetch-schemes-and-external-software:concept-response\" data-x-internal=\"concept-response\">response</a> <var>resource</var>, a <a id=\"non-fetch-schemes-and-external-software:navigable-2\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#navigable\">navigable</a>\n <var>navigable</var>, a <a id=\"non-fetch-schemes-and-external-software:sandboxing-flag-set\" href=\"https://html.spec.whatwg.org/multipage/browsers.html#sandboxing-flag-set\">sandboxing flag set</a> <var>sandboxFlags</var>, a boolean\n <var>hasTransientActivation</var>, and an <a id=\"non-fetch-schemes-and-external-software:concept-origin-2\" href=\"https://html.spec.whatwg.org/multipage/browsers.html#concept-origin\">origin</a> <var>initiatorOrigin</var>, user\n agents should:", |
27737 | 27737 | "rationale": "if", |
27738 | 27738 | "steps": [ |
27739 | 27739 | { |
|
34244 | 34244 | { |
34245 | 34245 | "name": "document write steps", |
34246 | 34246 | "href": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#document-write-steps", |
34247 | | - "html": "The <dfn id=\"document-write-steps\">document write steps</dfn>, given a <code id=\"document.write():document-3\"><a href=\"https://html.spec.whatwg.org/multipage/dom.html#document\">Document</a></code> object <var>document</var>,\n a list <var>text</var>, a boolean <var>lineFeed</var> and a string <var>sink</var>, are as\n follows:", |
| 34247 | + "html": "The <dfn id=\"document-write-steps\">document write steps</dfn>, given a <code id=\"document.write():document-3\"><a href=\"https://html.spec.whatwg.org/multipage/dom.html#document\">Document</a></code> object <var>document</var>,\n a list <var>text</var>, a boolean <var>lineFeed</var>, and a string <var>sink</var>, are as\n follows:", |
34248 | 34248 | "rationale": "let", |
34249 | 34249 | "steps": [ |
34250 | 34250 | { |
|
36251 | 36251 | { |
36252 | 36252 | "name": "message port post message steps", |
36253 | 36253 | "href": "https://html.spec.whatwg.org/multipage/web-messaging.html#message-port-post-message-steps", |
36254 | | - "html": "The <dfn id=\"message-port-post-message-steps\">message port post message steps</dfn>, given <var>sourcePort</var>,\n <var>targetPort</var>, <var>message</var> and <var>options</var> are as follows:", |
| 36254 | + "html": "The <dfn id=\"message-port-post-message-steps\">message port post message steps</dfn>, given <var>sourcePort</var>,\n <var>targetPort</var>, <var>message</var>, and <var>options</var> are as follows:", |
36255 | 36255 | "rationale": "let", |
36256 | 36256 | "steps": [ |
36257 | 36257 | { |
|
36630 | 36630 | { |
36631 | 36631 | "name": "terminate a worker", |
36632 | 36632 | "href": "https://html.spec.whatwg.org/multipage/workers.html#terminate-a-worker", |
36633 | | - "html": "When a user agent is to <dfn id=\"terminate-a-worker\" data-export=\"\">terminate a worker</dfn> it must run the following steps\n <a id=\"worker-processing-model:in-parallel\" href=\"https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel\">in parallel</a> with the worker's main loop (the \"<a href=\"https://html.spec.whatwg.org/multipage/workers.html#run-a-worker\" id=\"worker-processing-model:run-a-worker\">run a worker</a>\" processing\n model defined above):", |
| 36633 | + "html": "When a user agent is to <dfn id=\"terminate-a-worker\" data-export=\"\">terminate a worker</dfn>, it must run the following steps\n <a id=\"worker-processing-model:in-parallel\" href=\"https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel\">in parallel</a> with the worker's main loop (the \"<a href=\"https://html.spec.whatwg.org/multipage/workers.html#run-a-worker\" id=\"worker-processing-model:run-a-worker\">run a worker</a>\" processing\n model defined above):", |
36634 | 36634 | "rationale": "set", |
36635 | 36635 | "steps": [ |
36636 | 36636 | { |
|
40893 | 40893 | { |
40894 | 40894 | "name": "insert a comment", |
40895 | 40895 | "href": "https://html.spec.whatwg.org/multipage/parsing.html#insert-a-comment", |
40896 | | - "html": "When the steps below require the user agent to <dfn id=\"insert-a-comment\">insert a comment</dfn> while processing a\n comment token, optionally with an explicitly insertion position <var>position</var>, the\n user agent must run the following steps:", |
| 40896 | + "html": "When the steps below require the user agent to <dfn id=\"insert-a-comment\">insert a comment</dfn> while processing a\n comment token, optionally with an explicit insertion position <var>position</var>, the\n user agent must run the following steps:", |
40897 | 40897 | "rationale": "let", |
40898 | 40898 | "steps": [ |
40899 | 40899 | { |
|
0 commit comments