#61257 closed feature request (fixed)
HTML API: Indicate if a matched element expects a closing tag/token.
Reported by: | dmsnell | Owned by: | dmsnell |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.6 |
Component: | HTML API | Keywords: | has-patch needs-dev-note |
Focuses: | Cc: |
Description
Some tags open an element that could contain other tags. Some tags and tokens appear only transiently on the stack and are immediately popped off.
Previously this has all been occurring through a custom logical check inside the HTML Processor's step()
function, but it would be helpful to have a way to check on this generally and reuse the logic.
Change History (7)
This ticket was mentioned in PR #6600 on WordPress/wordpress-develop by @dmsnell.
8 months ago
#1
- Keywords has-patch added
@jonsurrell commented on PR #6600:
8 months ago
#2
I pushed some tests for this, I'd like to get this in. What's missing to land this?
8 months ago
#3
@sirreal I combined your negative-assertion tests into one since they all behaved in the same way. I think it helps keep the tests organized but I'm happy to bring yours back if you disagree.
#4
@
8 months ago
- Owner set to dmsnell
- Resolution set to fixed
- Status changed from new to closed
In 58192:
#7
@
7 months ago
Dev note incorporated into Updates to the HTML API (public preview)
Trac ticket: Core-61257
WIP