wordpress-develop/tests/phpunit/tests/html-api
Bernie Reiter 41bffadb83 HTML API: Add support for SPAN element.
In this patch we're introducing support for the SPAN element, which is the first
in the class of "any other tag" in the "in body" insertion mode.

This patch introduces the mechanisms required to handle that class of tags but
only introduces SPAN to keep the change focused. With the tests and mechanisms
in place it will be possible to follow-up and add another limited set of tags.

It's important that this not use the default catch-all in the switch handling
`step_in_body` because that would catch tags that have specific rules in previous
case statements that aren't yet added. For example, we don't want to treat the
`TABLE` element as "any other tag".

Props dmsnell.
Fixes #58907.

git-svn-id: https://develop.svn.wordpress.org/trunk@56331 602fd350-edb4-49c9-b593-d223f7449a82
2023-08-01 07:54:54 +00:00
..
wpHtmlProcessor.php HTML API: Change wp infix in test classes to Wp. 2023-07-25 12:17:28 +00:00
wpHtmlProcessorBreadcrumbs.php HTML API: Add support for SPAN element. 2023-08-01 07:54:54 +00:00
wpHtmlProcessorSemanticRules.php HTML API: Add support for SPAN element. 2023-08-01 07:54:54 +00:00
wpHtmlSupportRequiredHtmlProcessor.php HTML API: Add support for SPAN element. 2023-08-01 07:54:54 +00:00
wpHtmlSupportRequiredOpenElements.php HTML API: Change wp infix in test classes to Wp. 2023-07-25 12:17:28 +00:00
wpHtmlTagProcessor-bookmark.php HTML API: Change wp infix in test classes to Wp. 2023-07-25 12:17:28 +00:00
wpHtmlTagProcessor.php HTML API: Change wp infix in test classes to Wp. 2023-07-25 12:17:28 +00:00