From f5f1a644d34518d2ec06ce8ac5f49899988a2f54 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Wed, 1 Oct 2025 14:39:07 -0700 Subject: [PATCH] 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 https://github.com/whatwg/html/issues/11730 --- source | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/source b/source index 877761a9424..43502ff896d 100644 --- a/source +++ b/source @@ -56850,27 +56850,6 @@ interface HTMLOptGroupElement : HTMLElement { attribute must be specified if the optgroup has no child legend element.

-
-

The optgroup HTML element removing - steps, given removedNode and oldParent, are:

- -
    -
  1. If oldParent is a select element and removedNode has an - option child, then run oldParent's selectedness setting - algorithm.

  2. -
-
- -
-

The optgroup HTML element moving steps, given movedNode - and oldParent, are:

- -
    -
  1. Run the optgroup HTML element removing steps given - movedNode and oldParent.

  2. -
-
-

To get an optgroup element's label, given an optgroup optgroup: