#59914 closed enhancement (fixed)
HTML API: Add support for group of containers including ARTICLE element
Reported by: | dmsnell | Owned by: | Bernhard Reiter |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | HTML API | Keywords: | has-patch has-unit-tests commit needs-dev-note |
Focuses: | Cc: |
Description
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
Change History (6)
This ticket was mentioned in PR #5538 on WordPress/wordpress-develop by @dmsnell.
13 months ago
#1
#3
@
13 months ago
- Owner set to Bernhard Reiter
- Resolution set to fixed
- Status changed from new to closed
In 57115:
@Bernhard Reiter commented on PR #5538:
13 months ago
#4
BTW really appreciate the test coverage -- they're easy to read and follow, and provide a lot of confidence in the code changes! 🙌
@Bernhard Reiter commented on PR #5538:
13 months ago
#5
Committed to Core in https://core.trac.wordpress.org/changeset/57115.
Trac ticket: Core-59914
There are a handful of elements the behave similarly and are generically
container elements. These are the following elements:
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