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

WordPress Trac noreply at wordpress.org
Fri Sep 27 00:43: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:"59099" 59099]:
 {{{
 #!CommitTicketReference repository="" revision="59099"
 HTML API: Switch to HTML namespace when entering Integration Points.

 When encountering inline SVG and MathML content in an HTML document, there
 are certain "integration points" which transition back into the HTML
 parsing ruleset. Previously, the HTML API was incorrectly switching into
 the namespace of the element transitioning into that ruleset.

 In this patch, the correct transition is made, where all integration
 points refer to HTML rules, while non-integration points refer to the
 rules of the namespace corresponding to the token itself.

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

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

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


More information about the wp-trac mailing list