- From: Chuck Houpt <chuck@habilis.net>
- Date: Mon, 3 Oct 2022 15:58:59 -0400
- To: "Jukka K. Korpela" <jukkakk@gmail.com>
- Cc: W3C WWW Validator <www-validator@w3.org>, Jon Storslee <jon.storslee@paradisevalley.edu>
>> On Sep 29, 2022, at 2:41 PM, Jukka K. Korpela <jukkakk@gmail.com> wrote: >> >> Is there a rationale for this? Digging a little deeper and it looks like the change was prompted by MDN's recent use of the "Prettier" formatting tool, which always adds self-closing tags. In mid-September, most MDN example code changed to use self-closing tags. For example, compare: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link https://web.archive.org/web/20220914093040/https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link Discussions are ongoing and there's a WHATWG pull-requests on the topic: https://github.com/orgs/mdn/discussions/242 https://github.com/whatwg/html/pull/8338 Reading between the lines, it seems like the ultimate rational for the validator change is to "convince" MDN (and maybe Prettier) to switch back to HTML with no self-closing tags. - Chuck
Received on Monday, 3 October 2022 19:59:17 UTC