WordPress/wp-includes/html-api
dmsnell ed654177cd 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.

Built from https://develop.svn.wordpress.org/trunk@59099


git-svn-id: http://core.svn.wordpress.org/trunk@58495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-27 00:44:19 +00:00
..
class-wp-html-active-formatting-elements.php
class-wp-html-attribute-token.php
class-wp-html-decoder.php
class-wp-html-doctype-info.php
class-wp-html-open-elements.php
class-wp-html-processor-state.php
class-wp-html-processor.php HTML API: Switch to HTML namespace when entering Integration Points. 2024-09-27 00:44:19 +00:00
class-wp-html-span.php
class-wp-html-stack-event.php
class-wp-html-tag-processor.php HTML API: Add normalize() to give us the HTML we always wanted. 2024-09-20 22:32:17 +00:00
class-wp-html-text-replacement.php
class-wp-html-token.php
class-wp-html-unsupported-exception.php
html5-named-character-references.php