[wp-trac] [WordPress Trac] #61576: HTML API: Improved spec support in 6.7
WordPress Trac
noreply at wordpress.org
Tue Jul 9 21:43:26 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:"58702" 58702]:
{{{
#!CommitTicketReference repository="" revision="58702"
HTML API: Correct node name in `generate_implied_end_tags()`.
The `generate_implied_end_tags()` algorithm has been comparing the
current node to a list of node names, which means that it won't ever
pop any elements from the stack of open elements.
This patch corrects the mistake by comparing node name against the
list, thus fixing the algorithm. This was noted in development work
for the 6.7 release.
Developed in https://github.com/WordPress/wordpress-develop/pull/6988
Discussed in https://core.trac.wordpress.org/ticket/61576
Props dmsnell, jonsurrell.
See #61576.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61576#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list