Skip to content

Commit 63fab3f

Browse files
authored
Remove optgroup element removal and moving steps
These steps are obsolete now that option elements look through their entire ancestor chain when being inserted, removed, or moved. Mentioned in #11730.
1 parent 4b4492d commit 63fab3f

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

source

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56871,27 +56871,6 @@ interface <dfn interface>HTMLOptGroupElement</dfn> : <span>HTMLElement</span> {
5687156871
attribute must be specified if the <code>optgroup</code> has no child <code>legend</code>
5687256872
element.</p>
5687356873

56874-
<div algorithm>
56875-
<p>The <code>optgroup</code> <span data-x="html element removing steps">HTML element removing
56876-
steps</span>, given <var>removedNode</var> and <var>oldParent</var>, are:</p>
56877-
56878-
<ol>
56879-
<li><p>If <var>oldParent</var> is a <code>select</code> element and <var>removedNode</var> has an
56880-
<code>option</code> child, then run <var>oldParent</var>'s <span>selectedness setting
56881-
algorithm</span>.</p></li>
56882-
</ol>
56883-
</div>
56884-
56885-
<div algorithm>
56886-
<p>The <code>optgroup</code> <span>HTML element moving steps</span>, given <var>movedNode</var>
56887-
and <var>oldParent</var>, are:</p>
56888-
56889-
<ol>
56890-
<li><p>Run the <code>optgroup</code> <span>HTML element removing steps</span> given
56891-
<var>movedNode</var> and <var>oldParent</var>.</p></li>
56892-
</ol>
56893-
</div>
56894-
5689556874
<div algorithm>
5689656875
<p>To <dfn data-x="concept-optgroup-label">get an <code>optgroup</code> element's label</dfn>,
5689756876
given an <code>optgroup</code> <var>optgroup</var>:</p>

0 commit comments

Comments
 (0)