Editorial: fix minor markup and grammar inconsistencies · whatwg/url@6d83609
Mohammad-Fai
·
2026-06-04
·
via Recent Commits to url:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2161,7 +2161,7 @@ different document encoding. Using the <a>UTF-8</a> encoding everywhere solves t
|
2161 | 2161 | |
2162 | 2162 | <p class=note>How user input in the web browser's address bar is converted to a |
2163 | 2163 | <a for=/>URL record</a> is out-of-scope of this standard. This standard does include |
2164 | | -<a href="#url-rendering">URL rendering requirements</a> as they pertain trust decisions. |
| 2164 | +<a href="#url-rendering">URL rendering requirements</a> as they pertain to trust decisions. |
2165 | 2165 | |
2166 | 2166 | <ol> |
2167 | 2167 | <li><p>Let <var>url</var> be the result of running the <a>basic URL parser</a> on <var>input</var> |
@@ -3004,7 +3004,7 @@ and then runs these steps:
|
3004 | 3004 | <li><p>Set <var>buffer</var> to the empty string. |
3005 | 3005 | |
3006 | 3006 | <li><p>If <a>c</a> is U+0023 (#), then set <var>url</var>'s <a for=url>fragment</a> to |
3007 | | - the empty string and state to <a>fragment state</a>. |
| 3007 | + the empty string and <var>state</var> to <a>fragment state</a>. |
3008 | 3008 | </ol> |
3009 | 3009 | |
3010 | 3010 | <li> |
@@ -3753,7 +3753,7 @@ one might have assumed the setter to always "reset" both.
|
3753 | 3753 | return. |
3754 | 3754 | |
3755 | 3755 | <li><p>If the given value is the empty string, then set <a>this</a>'s <a for=URL>URL</a>'s |
3756 | | -<a for=url>port</a> to null.</p></li> |
| 3756 | +<a for=url>port</a> to null. |
3757 | 3757 | |
3758 | 3758 | <li><p>Otherwise, <a lt="basic URL parser">basic URL parse</a> the given value with |
3759 | 3759 | <a>this</a>'s <a for=URL>URL</a> as <a for="basic URL parser"><i>url</i></a> and |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。