[wp-trac] [WordPress Trac] #59914: HTML API: Add support for group of containers including ARTICLE element
WordPress Trac
noreply at wordpress.org
Fri Nov 17 06:11:46 UTC 2023
#59914: HTML API: Add support for group of containers including ARTICLE element
---------------------------------------------+-----------------------------
Reporter: dmsnell | Owner: Bernhard
| Reiter
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.5
Component: HTML API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------------
Changes (by Bernhard Reiter):
* owner: (none) => Bernhard Reiter
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57115" 57115]:
{{{
#!CommitTicketReference repository="" revision="57115"
HTML API: Add support for containers elements, including ARTICLE.
There are a handful of elements which behave similarly and are generically
container elements. These are the following elements:
ADDRESS, ARTICLE, ASIDE, BLOCKQUOTE, CENTER, DETAILS, DIALOG, DIR,
DL, DIV, FIELDSET, FIGCAPTION, FIGURE, FOOTER, HEADER, HGROUP, MAIN,
MENU, NAV, SEARCH, SECTION, SUMMARY
This patch adds support to the HTML Processor for handling these elements.
They do not require any additional logic in the rest of the class, and
carry no specific semantic rules for parsing beyond what is listed in
their group in the IN BODY section of the HTML5 specification.
Props dmsnell.
Fixes #59914.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59914#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list