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

WordPress Trac noreply at wordpress.org
Fri Jul 12 22:18:31 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:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"58713" 58713]:
 {{{
 #!CommitTicketReference repository="" revision="58713"
 HTML API: Simplify breadcrumb accounting.

 Since the HTML Processor started visiting all nodes in a document, both
 real and virtual, the breadcrumb accounting became a bit complicated
 and it's not entirely clear that it is fully reliable.

 In this patch the breadcrumbs are rebuilt separately from the stack of
 open elements in order to eliminate the problem of the stateful stack
 interactions and the post-hoc event queue.

 Breadcrumbs are greatly simplified as a result, and more verifiably
 correct, in this construction.

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

 Follow-up to [58590].

 Props bernhard-reiter, dmsnell.
 See #61576.
 }}}

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


More information about the wp-trac mailing list