Skip to content
Open
Changes from 2 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
17 changes: 6 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -57192,6 +57192,12 @@ interface <dfn interface>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
</ol>
</div>

<div algorithm>
<p>When an <code>option</code> element is popped off the <span>stack of open elements</span> of an
<span>HTML parser</span> or <span>XML parser</span>, the user agent must run <span>maybe clone an
option into selectedcontent</span> given the <code>option</code>.</p>
</div>

<dl class="domintro">
<dt><code data-x=""><var>option</var>.<span subdfn data-x="dom-option-selected">selected</span></code></dt>

Expand Down Expand Up @@ -141391,17 +141397,6 @@ document.body.appendChild(text);
<p><span>Insert an HTML element</span> for the token.</p>
</dd>

<dt>An end tag whose tag name is "option"</dt>
<dd>
<p>Let <var>option</var> be the first <code>option</code> element in the <span>stack of open
elements</span>.</p>

<p>Run the steps for "any other end tag."</p>

<p>If <var>option</var> is no longer in the <span>stack of open elements</span>, then run
<span>maybe clone an option into selectedcontent</span> given <var>option</var>.</p>
</dd>

<dt>A start tag whose tag name is one of: "rb", "rtc"</dt>
<dd>
<p>If the <span>stack of open elements</span> <span data-x="has an element in scope">has a
Expand Down