Make WordPress Core


Ignore:
Timestamp:
07/10/2026 05:22:53 PM (8 weeks ago)
Author:
jonsurrell
Message:

HTML API: Update SELECT element parsing according to specification.

The HTML standard was updated to support customizable SELECT elements. Update HTML API parsing accordingly.

Developed in https://github.com/WordPress/wordpress-develop/pull/9298.

Props jonsurrell, dmsnell.
Fixes #63736.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-processor-state.php

    r61793 r62689  
    210210         * @since 6.7.0
    211211         *
    212          * @see https://html.spec.whatwg.org/#parsing-main-inselect
     212         * @deprecated 7.1.0 The "in select" insertion mode was removed from the standard.
     213         * @ignore
     214         *
    213215         * @see WP_HTML_Processor_State::$insertion_mode
    214216         *
     
    222224         * @since 6.7.0
    223225         *
    224          * @see https://html.spec.whatwg.org/#parsing-main-inselectintable
     226         * @deprecated 7.1.0 The "in select in table" insertion mode was removed from the standard.
     227         * @ignore
     228         *
    225229         * @see WP_HTML_Processor_State::$insertion_mode
    226230         *
Note: See TracChangeset for help on using the changeset viewer.