Make WordPress Core


Ignore:
Timestamp:
07/05/2024 12:50:19 AM (10 months ago)
Author:
dmsnell
Message:

HTML API: Support SELECT insertion mode.

As part of work to add more spec support to the HTML API, this patch adds
support for the SELECT, OPTION, and OPTGROUP elements, including the
requisite support for the IN SELECT insertion mode.

Developed in https://github.com/WordPress/wordpress-develop/pull/5908
Discussed in https://core.trac.wordpress.org/ticket/61576

Props dmsnell, jonsurrell.
See #61576.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php

    r58363 r58677  
    407407            'NOSCRIPT'  => array( 'NOSCRIPT' ),
    408408            'OBJECT'    => array( 'OBJECT' ),
    409             'OPTGROUP'  => array( 'OPTGROUP' ),
    410             'OPTION'    => array( 'OPTION' ),
    411409            'PLAINTEXT' => array( 'PLAINTEXT' ),
    412410            'RB'        => array( 'RB' ),
     
    416414            'SARCASM'   => array( 'SARCASM' ),
    417415            'SCRIPT'    => array( 'SCRIPT' ),
    418             'SELECT'    => array( 'SELECT' ),
    419416            'STYLE'     => array( 'STYLE' ),
    420417            'SVG'       => array( 'SVG' ),
Note: See TracChangeset for help on using the changeset viewer.