Skip to content

Commit

Permalink
Fix language stating when start tags must not be omitted
Browse files Browse the repository at this point in the history
This change corrects the following statement:

> However, a start tag must never be omitted if it has any attributes.

The correction in this change makes it clear that the requirement is
about whether the start tag’s _element_ has attributes — not about
whether the start tag itself does.

Otherwise, without this change, the problem with the text as written is
the word “it”, which incorrectly refers to the start tag itself.
  • Loading branch information
sideshowbarker committed Nov 8, 2024
1 parent 0511ae0 commit e089633
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -123497,8 +123497,9 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {

</div>

<p><strong>However</strong>, a <span data-x="syntax-start-tag">start tag</span> must never be
omitted if it has any attributes.</p>
<p><strong>However</strong>, an <span data-x="concept-element">element’s</span> <span
data-x="syntax-start-tag">start tag</span> must never be omitted if the <span
data-x="concept-element">element</span> has any attributes.</p>

<div class="example">

Expand Down

0 comments on commit e089633

Please sign in to comment.