W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: Previous-sibling combinator

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 17 Aug 2012 17:49:59 +0200
Message-ID: <502E6827.8000701@kozea.fr>
To: "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru>
CC: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>, WWW Style <www-style@w3.org>
Le 17/08/2012 17:28, Marat Tanalin | tanalin.com a écrit :
> 17.08.2012, 19:12, "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>:
>> In summary, not requiring space around '-' is just not a workable
>> approach. Requiring space around '-' could work. It just looks quite
>> awkward but we have that precedence with calc().
>
> Perhaps requiring spaces around `-` combinator is best viable approach.

Or choosing another character. `-` was apparently suggested as the minus 
sign, opposite of `+`. But in a non-numeric context this character is 
most often an hyphen. I think that a "minus" combinator would be 
confusing. (In selector context it really looks like an hyphen.)

-- 
Simon Sapin
Received on Friday, 17 August 2012 15:50:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT