|
622 | 622 | "rationale": "let",
|
623 | 623 | "steps": [
|
624 | 624 | {
|
625 |
| - "html": "<p>Let <var>compilationSink</var> be \"Function\" if <var>compilationType</var> is \"<code>FUNCTION</code>\", and \"Eval\" otherwise.</p>" |
| 625 | + "html": "<p>Let <var>compilationSink</var> be \"Function\" if <var>compilationType</var> is \"<code>FUNCTION</code>\", and \"eval\" otherwise.</p>" |
626 | 626 | },
|
627 | 627 | {
|
628 | 628 | "html": "<p>Let <var>isTrusted</var> be <code>true</code> if <var>bodyArg</var> <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#implements\" id=\"ref-for-implements\">implements</a> <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://www.w3.org/TR/trusted-types/#trustedscript\" id=\"ref-for-trustedscript\">TrustedScript</a></code>, and <code>false</code> otherwise.</p>"
|
|
2038 | 2038 | {
|
2039 | 2039 | "name": "port-part matches",
|
2040 | 2040 | "href": "https://www.w3.org/TR/CSP3/#port-part-matches",
|
2041 |
| - "html": "An <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ascii-string\" id=\"ref-for-ascii-string①⓪\">ASCII string</a> <var>input</var> <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"port-part-matches\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\"><code>port-part</code> matches</dfn> <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url\" id=\"ref-for-concept-url③\">URL</a> <var>url</var> if a CSP source expression that\n contained the first as a <a data-link-type=\"grammar\" href=\"https://www.w3.org/TR/CSP3/#grammardef-port-part\" id=\"ref-for-grammardef-port-part②\"><code>port-part</code></a> could potentially match a URL containing the latter’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-port\" id=\"ref-for-concept-url-port\">port</a> and <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-scheme\" id=\"ref-for-concept-url-scheme①②\">scheme</a>. For example, \"80\" <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSP3/#port-part-matches\" id=\"ref-for-port-part-matches①\"><code>port-part</code> matches</a> matches http://example.com.", |
| 2041 | + "html": "An <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ascii-string\" id=\"ref-for-ascii-string①⓪\">ASCII string</a> or null <var>input</var> <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"port-part-matches\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\"><code>port-part</code> matches</dfn> <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url\" id=\"ref-for-concept-url③\">URL</a> <var>url</var> if a CSP source expression that contained the first as a <a data-link-type=\"grammar\" href=\"https://www.w3.org/TR/CSP3/#grammardef-port-part\" id=\"ref-for-grammardef-port-part②\"><code>port-part</code></a> could potentially match a URL containing the latter’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-port\" id=\"ref-for-concept-url-port\">port</a> and <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-scheme\" id=\"ref-for-concept-url-scheme①②\">scheme</a>. For example, \"80\" <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSP3/#port-part-matches\" id=\"ref-for-port-part-matches①\"><code>port-part</code> matches</a> matches http://example.com.", |
2042 | 2042 | "rationale": ".algorithm",
|
2043 | 2043 | "steps": [
|
2044 | 2044 | {
|
2045 |
| - "html": "<p class=\"assertion\">Assert: <var>input</var> is the empty string, \"*\", or a sequence of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ascii-digit\" id=\"ref-for-ascii-digit\">ASCII digits</a>.</p>" |
| 2045 | + "html": "<p class=\"assertion\">Assert: <var>input</var> is null, \"*\", or a sequence of one or more <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ascii-digit\" id=\"ref-for-ascii-digit\">ASCII digits</a>.</p>" |
2046 | 2046 | },
|
2047 | 2047 | {
|
2048 | 2048 | "html": "<p>If <var>input</var> is equal to \"*\", return \"<code>Matches</code>\".</p>"
|
2049 | 2049 | },
|
2050 | 2050 | {
|
2051 |
| - "html": "<p>Let <var>normalizedInput</var> be null if <var>input</var> is the empty string; otherwise <var>input</var> interpreted as decimal number.</p>" |
| 2051 | + "html": "<p>Let <var>normalizedInput</var> be null if <var>input</var> null; otherwise <var>input</var> interpreted as decimal number.</p>" |
2052 | 2052 | },
|
2053 | 2053 | {
|
2054 | 2054 | "html": "<p>If <var>normalizedInput</var> equals <var>url</var>’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-port\" id=\"ref-for-concept-url-port①\">port</a>, return \"<code>Matches</code>\".</p>"
|
|
0 commit comments