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

WordPress Trac noreply at wordpress.org
Tue Aug 1 07:55:10 UTC 2023


#58907: HTML API: Add support for SPAN element.
--------------------------------------+------------------------------
 Reporter:  dmsnell                   |       Owner:  Bernhard Reiter
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  HTML API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by Bernhard Reiter):

 * owner:  (none) => Bernhard Reiter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56331" 56331]:
 {{{
 #!CommitTicketReference repository="" revision="56331"
 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.
 }}}

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


More information about the wp-trac mailing list