W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Fwd: Make quoted attributes a conformance criterion

From: Elliotte Rusty Harold <elharo@ibiblio.org>
Date: Thu, 30 Jul 2009 08:01:14 -0700
Message-ID: <654a2bb30907300801r27b9e67blddfaafd1153a502e@mail.gmail.com>
On Mon, Jul 27, 2009 at 3:29 AM, Jeremy Keith<jeremy at adactio.com> wrote:

> I concur. And I say that as someone who likes the XHTML-like syntax (always
> closing tags, always quoting attributes, etc.). I don't think my personal
> preference for writing markup should be enforced in the spec; it should be
> enforced in the lint tools.

If the HTML 5 spec actually enforced anything, I would agree with you.
However the HTML 5 spec differs radically from the specs for
JavaScript, C++, Java, and so forth in that browsers will still accept
non-conforming documents and hopefully parse and render them in a
defined way. Making non-quoted attributes non-conformant is more akin
to a lint suggestion than a hard and fast ruie. There is no such thing
as a compile error in HTML 5. The worst an author will get is a
warning, and a reader won't even see that.

Elliotte Rusty Harold
elharo at ibiblio.org
Received on Thursday, 30 July 2009 08:01:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC