Re: [gradients] basics

Robert O'Callahan wrote:
> On Tue, Nov 10, 2009 at 5:00 PM, Robert O'Callahan <robert@ocallahan.org 
> <mailto:robert@ocallahan.org>> wrote:
> 
>     On Tue, Nov 10, 2009 at 4:53 PM, Andrew Fedoniouk
>     <news@terrainformatica.com <mailto:news@terrainformatica.com>> wrote:
> 
>         There are no other CSS properties that take multiple values and
>         cannot be split into separate parts.
> 
>      
>     'content' is another.
> 
>  
> So are box-shadow and text-shadow.

According to http://www.w3.org/TR/css3-background/#the-box-shadow :

"This module previously defined a ‘box-shadow’ property. This feature 
has been removed from this module for further discussion, and should 
reappear in another CSS module in the future."

If they would even there then the same argument as for the content() -
it makes no sense to split them at all.

But again I think that in any case they should use list() function with 
optionally named arguments.

h3.b
{
   text-shadow: list( light: 1px 1px white, shadow:-1px -1px #444 );
}

so when needed components can be redefined independently:

html[when="sunset"] h3.b
{
  text-shadow[light]: 3px 3px orange;
}


> 
> Rob
> -- 
> "He was pierced for our transgressions, he was crushed for our 
> iniquities; the punishment that brought us peace was upon him, and by 
> his wounds we are healed. We all, like sheep, have gone astray, each of 
> us has turned to his own way; and the LORD has laid on him the iniquity 
> of us all." [Isaiah 53:5-6]


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Tuesday, 10 November 2009 04:38:52 UTC