W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: [CSS-idea] CSS with classes.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 2 Jul 2008 09:02:12 -0500
Message-ID: <dd0fbad0807020702s625035c5la9d7586bc9c19d4@mail.gmail.com>
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: "Andrew Fedoniouk" <news@terrainformatica.com>, www-style <www-style@w3.org>
On Wed, Jul 2, 2008 at 1:47 AM, Daniel Glazman <
daniel.glazman@disruptive-innovations.com> wrote:

>
> Andrew Fedoniouk wrote:
>
>>
>> Here is the idea for how to extend CSS by classes or style sets. So to get
>> CSS++ - object oriented CSS.
>>
>
> I think this proposal gives CSS two things : power and total
> unreadability. I'm not ready to accept the latter to get the former.
>
> If we go that way, soon only the original author of a given stylesheet
> will be able to modify it because of the complexity of the prose...
>
> I'm against this proposal.
>
> </Daniel>
>

Agreed in opposition.  I think the proposal is very interesting in its use
of the :root pseudo-class, but allowing a styleset to descend arbitrarily
down the markup means that putting a styleset rule into one block can have
difficult-to-predict results on later selector blocks, unless you've
completely internalized all the 'classes' you're working with.  The standard
variable proposals limit the effect of a variable to only the block it shows
up in (plus inheritance, of course, but that's standard).

~TJ
Received on Wednesday, 2 July 2008 14:02:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT