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 f15dcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -123498,7 +123498,7 @@ 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>
omitted if its element has any attributes.</p>

<div class="example">

Expand Down

0 comments on commit f15dcff

Please sign in to comment.