W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css-regions][shadowdom] @region rule and ::distributed() pseudo-element

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Thu, 25 Apr 2013 15:36:59 +0200
Message-ID: <5179317B.8020207@disruptive-innovations.com>
To: www-style@w3.org
On 17/04/13 23:10, François REMY wrote:

>> One drawback to using a functional pseudo-element compared to an @rule is
>> more typing. If you have more than one selector argument to pass to the
>> function you have to repeat .container::distributed() for each selector.
> The lack of nested rules shouldn't be a reason to introduce more at-rules. Shouldn't selectors and @rules be kept orthogonal?

I just don't understand such arguments. It's like saying we
should get rid of :first-child because we have :nth-child(1).
Both constructs have pros and cons and I don't see any orthogonality

Received on Thursday, 25 April 2013 13:37:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:28 UTC