W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Thoughts on HTML 5

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 15 Dec 2008 07:46:57 -0800
Message-ID: <c9e12660812150746p64510f15pefc8e7d93ff47a2d@mail.gmail.com>
On Mon, Dec 15, 2008 at 6:32 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
>> On Sat, Dec 13, 2008 at 1:40 AM, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
>>>
>>> On Thu, Feb 28, 2008 at 10:31 AM,  <html at nczonline.net> wrote:
>>> We then, as developers, could use that attribute as we see fit and
>>> the document would still validate (for people who care about such
>>> things).
>>
>> Are people who care about things are the parenthetical afterthought?
>>
>> Just curious: What are you expecting your invalid html and custom
>> attributes to do?
>
> Control scripts, usually.  This is a valid and common use-case that
> currently has to hack around things, sometimes by embedding this data
> in the class attribute.  The data-* attribute family is explicitly
> designed for this.
>

You're not Nicholas. We don't know if that is what Nicholas expects
his HTML to do or if he is expecting something else. In absence of an
example, I can't do much more than guess. I cannot expect your
assumptions to be correct.

You've not stated how creating invalid HTML can "control scripts".
Having an interest in scripting, I would like to know how this works.

Garrett

> ~TJ
>
Received on Monday, 15 December 2008 07:46:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC