W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: CSS Hierarchies / Selector Nesting Proposal

From: Andrew Fedoniouk <andrew.fedoniouk@live.com>
Date: Thu, 2 Jun 2011 21:04:01 -0700
Message-ID: <BLU165-ds172E6823DF09618D30B9CBF87F0@phx.gbl>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>, "Brad Kemper" <brad.kemper@gmail.com>
Cc: <www-style@w3.org>
-----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 GMT

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