Re: Previous-sibling combinator

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 UTC