[wp-trac] [WordPress Trac] #61576: HTML API: Improved spec support in 6.7

WordPress Trac noreply at wordpress.org
Mon Jul 29 17:38:05 UTC 2024


#61576: HTML API: Improved spec support in 6.7
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  HTML API                  |     Version:  6.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"58828" 58828]:
 {{{
 #!CommitTicketReference repository="" revision="58828"
 HTML API: Close all elements at the end of a document.

 When the model of breadcrumb generation in the HTML Processor and node
 traversal was simplified, the change introduced a bug whereby unclosed
 nodes at the end of a document would remain unvisited and unclosed.

 In this patch, a fix is applied to ensure that all open elements close
 while traversing a document. A couple of minor documentation typos are
 fixed in the patch as well.

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

 Follow-up to [58713].

 Props: dmsnell, gziolo, jonsurrell.
 See #61576.
 }}}

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


More information about the wp-trac mailing list