Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The p element's end tag may be omitted when followed by dialog #10591

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -122475,16 +122475,17 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
<!-- </p> -->
<p>A <code>p</code> element's <span data-x="syntax-end-tag">end tag</span> may be omitted if the
<code>p</code> element is immediately followed by an <code>address</code>, <code>article</code>,
<code>aside</code>, <code>blockquote</code>, <code>details</code>, <code>div</code>,
<code>dl</code>, <code>fieldset</code>, <code>figcaption</code>, <code>figure</code>,
<code>footer</code>, <code>form</code>, <code>h1</code>, <code>h2</code>, <code>h3</code>,
<code>h4</code>, <code>h5</code>, <code>h6</code>, <code>header</code>, <code>hgroup</code>,
<code>hr</code>, <code>main</code>, <code>menu</code>, <code>nav</code>, <code>ol</code>,
<code>p</code>, <code>pre</code>, <code>search</code>, <code>section</code>, <code>table</code>,
or <code>ul</code> element, or if there is no more content in the parent element and the parent
element is an <span data-x="HTML elements">HTML element</span> that is not an <code>a</code>,
<code>audio</code>, <code>del</code>, <code>ins</code>, <code>map</code>, <code>noscript</code>,
or <code>video</code> element, or an <span>autonomous custom element</span>.</p>
<code>aside</code>, <code>blockquote</code>, <code>details</code>, <code>dialog</code>,
<code>div</code>, <code>dl</code>, <code>fieldset</code>, <code>figcaption</code>,
<code>figure</code>, <code>footer</code>, <code>form</code>, <code>h1</code>, <code>h2</code>,
<code>h3</code>, <code>h4</code>, <code>h5</code>, <code>h6</code>, <code>header</code>,
<code>hgroup</code>, <code>hr</code>, <code>main</code>, <code>menu</code>, <code>nav</code>,
<code>ol</code>, <code>p</code>, <code>pre</code>, <code>search</code>, <code>section</code>,
<code>table</code>, or <code>ul</code> element, or if there is no more content in the parent
element and the parent element is an <span data-x="HTML elements">HTML element</span> that is not
an <code>a</code>, <code>audio</code>, <code>del</code>, <code>ins</code>, <code>map</code>,
<code>noscript</code>, or <code>video</code> element, or an <span>autonomous custom
element</span>.</p>

<div class="example">

Expand Down