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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 01 Dec 2010 00:36:53 +0100
Message-ID: <op.vm0bvr0e64w2qv@anne-van-kesterens-macbook-pro.local>
On Wed, 01 Dec 2010 00:27:23 +0100, Ian Hickson <ian at hixie.ch> wrote:
> An update since this topic was discussed on this list before:
>
> I updated the vendor-specific syntax a while back to be x-vendor-foo=""
> for content attributes, and .vendorFoo for IDL members; attributes
> starting with an underscore are also reserved but their use is not
> encouraged.

If we do .vendorFoo shouldn't we just do vendor-foo=""? "opera", "moz",  
"webkit", "ms" are unique enough and HTML attributes generally do not use  
hyphens anyway. (And yes, there will be some more vendors, etc. But over  
the years there have not been many extensions at all so this is all rather  
manageable.)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 30 November 2010 15:36:53 UTC

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