[wp-trac] [WordPress Trac] #58907: HTML API: Add support for SPAN element.

WordPress Trac noreply at wordpress.org
Wed Jul 26 03:45:31 UTC 2023


#58907: HTML API: Add support for SPAN element.
-------------------------+-----------------------------
 Reporter:  dmsnell      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  HTML API     |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 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".

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58907>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list