#58961 closed enhancement (fixed)
HTML API: Add support for BUTTON element
Reported by: | dmsnell | Owned by: | Bernhard Reiter |
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | 6.3 |
Component: | HTML API | Keywords: | has-patch has-unit-tests commit needs-dev-note |
Focuses: | Cc: |
Description
In this patch we're adding support to process the BUTTON element. This requires adding some additional semantic rules to handle situations where a BUTTON element is already in scope.
This patch is one in a series of changes to expand support within the HTML API, moving gradually to allow for more focused changes that are easier to review and test. The HTML Processor is a work in progress with a certain set of features slated to be ready and tested by 6.4.0, but it will only contain partial support of the HTML5 specification even after that. Whenever it cannot positively recognize and process its input it bails, and certain function stubs and logical stubs exist to structure future expansions of support.
Change History (11)
This ticket was mentioned in PR #4955 on WordPress/wordpress-develop by @dmsnell.
16 months ago
#1
- Keywords has-unit-tests added
#4
@
15 months ago
- Owner set to Bernhard Reiter
- Resolution set to fixed
- Status changed from new to closed
In 56380:
@Bernhard Reiter commented on PR #4955:
15 months ago
#5
Committed to Core in https://core.trac.wordpress.org/changeset/56380/.
#7
@
14 months ago
@bph this is a fairly minor and trivial patch to the HTML API, one of many that are all fairly nonconsequential. Did you want to mark #58517 instead, where the HTML Processor is introduced?
My thinking at the moment is that we may still limit how much is being introduced publicly in 6.4, whereas the most significant announcement might be less about the HTML Processor and more about being able to use it to match limited HTML structure through matches_breadcrumbs() (yet to be merged).
#8
@
13 months ago
I'm working with @webcommsat to check on dev notes for tickets.
Was it decided whether this one needs a dev note?
We have this tracked for dev notes and review here:
https://github.com/WordPress/Documentation-Issue-Tracker/issues/1151
#9
@
13 months ago
I would suggest that there's definitely no reason to include this ticket in a dev note. The HTML Processor itself could use one, and I'd be willing to help write it, which relates more specifically to #58517
Ticket: #58961
In this patch we're adding support to process the BUTTON element. This requires adding some additional semantic rules to handle situations where a BUTTON element is already in scope.
This patch is one in a series of changes to expand support within the HTML API, moving gradually to allow for more focused changes that are easier to review and test. The HTML Processor is a work in progress with a certain set of features slated to be ready and tested by 6.4.0, but it will only contain partial support of the HTML5 specification even after that. Whenever it cannot positively recognize and process its input it bails, and certain function stubs and logical stubs exist to structure future expansions of support.