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

Ian Hickson ian at hixie.ch
Mon Aug 16 21:05:56 PDT 2010


On Mon, 16 Aug 2010, L. David Baron wrote:
> On Monday 2010-08-16 15:14 -0700, whatwg at whatwg.org wrote:
> > [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers think underscores are ugly.
> > Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9590
> 
> This has the disadvantage that vendor-specific features can't be 
> commented out in a conformant way since '--' is not permitted within 
> comments, per 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#comments

Hmm, good point. Any other suggestions?


> I'd also note that Gecko has quite a few _moz- attributes, although 
> they're for "internal" things rather than things that we intend to 
> expose to authors.

Yeah, that's what the original suggestion came from. It was changed 
because of:

   http://www.w3.org/Bugs/Public/show_bug.cgi?id=9590

I don't really mind what we use, so long as people are willing to use it 
and we can guarantee that it won't conflict with future attributes.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list