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

Re: Targeting CSS3 only (evil?), either with pseudoclass or an extra syntax for properties.

From: Allan Sandfeld Jensen <kde@carewolf.com>
Date: Mon, 4 Apr 2005 10:43:22 +0200
To: www-style@w3.org
Message-Id: <200504041043.22889.kde@carewolf.com>

On Monday 04 April 2005 01:02, Emrah BASKAYA wrote:
> .sidenote {
> border: 2px dotted red;
> padding: 5px; /* no need for a large padding */
> border-radius: 15px; /* old agents do not undestand anything, so no
> problem here */
> }
>
> .sidenote:css3 {
> padding: 15px 5px; /* So contents start below the rounded circle border */
> }
>
> or it could be "padding-css3: 15px" without needing a pseudo class. Css3
> browsers would be encouraged to remove the last occurence of -css3 and
> this could be for all the styling properties.
>

I think it would degrade better if we had an all or nothing block, where all 
the properties would need to be supported for any of them to be applied.

.sidenote {
  padding: 5px; 
  { border-radius: 15px; padding: 15px 5px; }
}

`Allan
Received on Monday, 4 April 2005 08:43:34 GMT

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