Re: [css-variables] ...let's change the syntax

* Sylvain Galineau wrote:
>On Mar 17, 2014, at 12:04 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
>> I am more concerned about having to debug through
>> 
>>  #something {
>>    -webkit-border-radius: 5px;
>>    width: 200px

>Sure, this can happen as long as some browser vendors preserve prefixes. 
>But I’m not sure why this would be worse than:
>
>>  #something {
>>    -webkit-border-radius: 5px;
>>    width: 200px
>>    -moz-border-radius: 5px;
>>    height: 200px;
>>    --scroll: carousel(...);
>>    -o-border-radius: 5px;
>>    border:radius: 5px;
>>    --says: groovy;
>>  }
>
>…where the custom props carry no information as to what makes use of 
>them. Which is harder to investigate? 

To go back to Daniel's orginal argument about author familiarity, it
should rather be something like

  #something {
    -webkit-border-radius: 5px;
    width: 200px
    -moz-border-radius: 5px;
    height: 200px;
    data-jquery-scroll: carousel(...);
    -o-border-radius: 5px;
    border:radius: 5px;
    data-sassy-framework-says: groovy;
  }

Where the vile ones stick out their ugly heads.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 17 March 2014 19:27:54 UTC