Provide more context around the permissibility of the XHTML slash on void elements #9642
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(Not using the template, as this PR is an informative editorial change.)
With issue #9491, the very minor-appearing 2006 concession of the spec not treating
/>
on void elements as an error, which one would expect to remove the issue from spec debate, comes back to spec debate as a request that would (if accepted) disrupt HTML parsing in an exceptionally significant way.While we could close an issue like #9491 as rejected without changing the spec text in any way, I think the spec should make more of an effort to dissuade (short of suggesting that conformance checkers complain about it) the kind of perpetuation of the
/>
syntax (not on @jakearchibald 's part but on the part of people whose comments he is synthesizing into a request) that can escalate to a disruptive-if-accepted spec change request.The
/>
syntax was permitted "to make it easier for authors to migrate from XHTML". (See also the longer decision email. We could at least have non-normative language to document the XHTML-related rationale and to frame it as not intended beyond the scope of that purpose, including by highlighting the non-use of the slash by the serialization algorithm given in the spec itself./syntax.html ( diff )