






















@@ -2194,7 +2194,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
2194219421952195 <p>When an authoring tool is used to edit a non-conforming document, it may preserve the
21962196 conformance errors in sections of the document that were not edited during the editing session
2197- (i.e. an editing tool is allowed to round-trip erroneous content). However, an authoring tool
2197+ (i.e., an editing tool is allowed to roundtrip erroneous content). However, an authoring tool
21982198 must not claim that the output is conformant if errors have been so preserved.</p>
2199219922002200 <p>Authoring tools are expected to come in two broad varieties: tools that work from structure
@@ -6804,7 +6804,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
6804680468056805 <div algorithm>
68066806 <p>The rules to <dfn>parse a global date and time string</dfn> are as follows. This will return
6807- either a time in UTC, with associated time-zone offset information for round-tripping or display
6807+ either a time in UTC, with associated time-zone offset information for roundtripping or display
68086808 purposes, or nothing. If at any point the algorithm says that it "fails", this means that it is
68096809 aborted at that point and returns nothing.</p>
68106810@@ -14776,7 +14776,7 @@ Transport Protocol">HTTP</abbr> today.</p></code></pre> <!-- DO NOT REWRAP
14776147761477714777 <p>If the resulting value is not a recognized language tag, then it must be treated as an unknown
1477814778 language having the given language tag, distinct from all other languages. For the purposes of
14779-round-tripping or communicating with other services that expect language tags, user agents should
14779+roundtripping or communicating with other services that expect language tags, user agents should
1478014780 pass unknown language tags through unmodified, and tagged as being BCP 47 language tags, so that
1478114781 subsequent services do not interpret the data as another type of language description.
1478214782 <ref>BCP47</ref></p>
@@ -138255,7 +138255,7 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
138255138255 <code>html</code> element and before the <code>head</code> element, will be dropped when the
138256138256 document is parsed; <span>ASCII whitespace</span> <em>after</em> the <code>html</code> element
138257138257 will be parsed as if it were at the end of the <code>body</code> element. Thus, <span>ASCII
138258- whitespace</span> around the <span>document element</span> does not round-trip.</p>
138258+ whitespace</span> around the <span>document element</span> does not roundtrip.</p>
138259138259138260138260 <p>It is suggested that newlines be inserted after the DOCTYPE, after any comments that are
138261138261 before the document element, after the <code>html</code> element's start tag (if it is not <span
@@ -149256,9 +149256,9 @@ document.body.appendChild(text);
149256149256 <ul class="domTree"><li class="t1"><code>html</code><ul><li class="t1"><code>head</code></li><li class="t1"><code>body</code><ul><li class="t1"><code>a</code></li><li class="t1"><code>a</code></li><li class="t1"><code>table</code></li></ul></li></ul></li></ul>
149257149257 </div>
149258149258149259- <p>For historical reasons, this algorithm does not round-trip an initial U+000A (LF) character in
149259+ <p>For historical reasons, this algorithm does not roundtrip an initial U+000A (LF) character in
149260149260 <code>pre</code>, <code>textarea</code>, or <code>listing</code> elements, even though (in the
149261- first two cases) the markup being round-tripped can be conforming. The <span>HTML parser</span>
149261+ first two cases) the markup being roundtripped can be conforming. The <span>HTML parser</span>
149262149262 will drop such a character during parsing, but this algorithm does <em>not</em> serialize an extra
149263149263 U+000A (LF) character.</p>
149264149264 <!-- https://github.com/whatwg/html/issues/944 -->
@@ -149759,7 +149759,7 @@ console.assert(container.firstChild instanceof SuperP);
149759149759149760149760 <p>For <code>Element</code>s, if any of the elements in the serialization are in no namespace, the
149761149761 default namespace in scope for those elements must be explicitly declared as the empty string.<!--
149762- because otherwise round-tripping might break since it'll pick up the surrounding default ns when
149762+ because otherwise roundtripping might break since it'll pick up the surrounding default ns when
149763149763 setting --> (This doesn't apply in the <code>Document</code> case.) <ref>XML</ref>
149764149764 <ref>XMLNS</ref></p>
149765149765此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。