Re: CSS Hierarchies / Selector Nesting Proposal

-----Original Message----- 
>From: Boris Zbarsky Sent: Thursday, June 02, 2011 9:09 AM To: Brad Kemper 
>Cc: www-style@w3.org Subject: Re: CSS Hierarchies / Selector Nesting 
>Proposal
>On 6/2/11 11:48 AM, Brad Kemper wrote:
>> OK, I see the issue now. By inserting the ampersand token, you are being 
>> more explicit with regard to space handing.
>
>Yeah, the use of ' ' as a combinator is sort of killing us here.  :(

I suspect that backward compatibility is also the feature being killed.

Consider this sample:

<html>
<style>
  #one {
    & #two { background:yellow; }
    background:red;
  }
</style>
<body>
  <div id=one>test</div>
</body>
</html>


-- 
Andrew Fedoniouk

http://terrainformatica.com 

Received on Friday, 3 June 2011 04:04:32 UTC