W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 31 Aug 2010 07:02:02 -0700
Message-ID: <AANLkTinUFERNZCHS14-p6WXa0oketb4LO3UBx6twAWzK@mail.gmail.com>
On Tue, Aug 31, 2010 at 12:48 AM, Simon Pieters <simonp at opera.com> wrote:
> On Mon, 30 Aug 2010 19:06:43 +0200, Aryeh Gregor <Simetrical+w3c at gmail.com>
> wrote:
>
>> On Mon, Aug 30, 2010 at 4:19 AM, Simon Pieters <simonp at opera.com> wrote:
>>>
>>> This change clashes with data-*.
>>
>> How? ?Are you missing the fact that *two* consecutive hyphens are needed?
>
> If a vendor is called "data", then data--feature becomes a data-* attribute
> and is included in .dataset.

Right.  So a vendor shouldn't choose "data" as their prefix.

~TJ
Received on Tuesday, 31 August 2010 07:02:02 UTC

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