[wp-trac] [WordPress Trac] #61549: HTML API: Add "reset insertion mode appropriately"

WordPress Trac noreply at wordpress.org
Wed Jul 3 17:06:05 UTC 2024


#61549: HTML API: Add "reset insertion mode appropriately"
--------------------------------------+-------------------------
 Reporter:  jonsurrell                |       Owner:  jonsurrell
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  HTML API                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by dmsnell):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58656" 58656]:
 {{{
 #!CommitTicketReference repository="" revision="58656"
 HTML API: Implement the _reset insertion mode appropriately_ algorithm.

 In order to add support for the SELECT and TABLE tags in the HTML
 Processor, it
 needs to implement the HTML algorithm named "reset the insertion mode
 appropriately".

 This patch implements that algorithm to unblock the additional tag
 support. The
 algorithm resets the parsing mode after specific state changes in
 complicated
 situations where alternative rules are in effect (such as rules governing
 how
 the parser handles tags found within a TABLE element).

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

 Props dmsnell, jonsurrell.
 Fixes #61549.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61549#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list