-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed as not planned
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds compat analysisneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: parser
Description
People really seem to like self-closing tag syntax (see the replies to https://twitter.com/jaffathecake/status/1676843832284004353).
Maybe a switch should be added to allow them to be used on all elements?
<!doctype html allow-self-closing-or-whatever>
<!-- Now self-closes: -->
<div/>
<my-component/>
<script src="…"/>
Right now, documents can be a mix of rules where />
is largely meaningless, except in SVG and MathML. Making everything consistent seems… good?
topaxi, lukewarlow, maxbeier, jiripospisil, bryan-hoang and 91 morebburnskarlhorky, WebReflection, yurivish, Nightcaat, warpr and 21 moreQINGCHARLES, qdmitriyzhukov, worstpractice, bburns and tuukkamyfonj, libreom, hennessyevan, benface, thatcher-gaming and 9 more
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds compat analysisneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: parser