[wp-trac] [WordPress Trac] #60227: HTML API: Add external test suite
WordPress Trac
noreply at wordpress.org
Wed Jan 10 15:31:28 UTC 2024
#60227: HTML API: Add external test suite
-------------------------+-----------------------------
Reporter: jonsurrell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTML API | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Problem:
The HTML API is a complex and important feature being implemented by a
small group of developers. The implementation follows the HTML Standard
https://html.spec.whatwg.org/.
The tests and the implementation of the HTML API both depend on the
interpretation of the standard by the same small group of developers. This
means there is a risk of misinterpretation or overlooked edge cases.
Needs:
A suite of tests that can serve to test the HTML API that does not depend
on our own interpretation of the HTML Standard and is implementation
agnostic.
Benefits:
Many software projects such as browsers implement the HTML Standard. We
should be able to use a third-party implementation-agnostic test suite to
validate our implementation of the HTML API. This mitigates the risk where
our implementation and tests all derive from the same interpretation of
the specification.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60227>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list