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

[whatwg] Make quoted attributes a conformance criterion

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 26 Jul 2009 20:53:35 -0400
Message-ID: <63df84f0907261753w5316dfecj38c0b3c0a2484ab2@mail.gmail.com>
On Sun, Jul 26, 2009 at 9:09 AM, Mike Shaver<mike.shaver at gmail.com> wrote:
> On Sun, Jul 26, 2009 at 5:15 AM, Keryx Web<webmaster at keryx.se> wrote:
>> My analogy was simply this: Just like it makes sense for a JavaScript lint
>> tool to enforce semi-colons, it makes sense for an HTML conformance checker
>> to enforce quotation marks.
> A lint tool is not a conformance checker. ?Your proposal here is
> analogous to removing ASI from ECMAScript, such that a program which
> relied on it would not be conformant.
> I recommend that you find an HTML guru of the same stature as
> Crockford in the JS community, and convince her to write a lint tool
> which forbids unquoted attribute values. ?Once you have that, you can
> (attempt to) popularize that style via evangelism for the lint tool,
> rather than trying to foist your stylistic preferences -- which, as it
> happens, I share -- onto the world via spec requirements.

The more I think about it, the more I'm intrigued by Rob Sayres idea
of completely removing the definition of what is "conforming". Let the
spec define UA (or HTML consumer) behavior, and let lint tools fight
out best practices for authoring.

/ Jonas

/ Jonas
Received on Sunday, 26 July 2009 17:53:35 UTC

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