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

Re: [css3-background], comments on 'box-shadow'

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 17 Feb 2005 10:48:54 -0800
Message-ID: <002001c51521$56f8b0d0$c302000a@internal.toppro.net>
To: "Philip TAYLOR" <P.Taylor@Rhul.Ac.Uk>
Cc: <www-style@w3.org>

>I would be very much against any proposal
> that required me to use images to achieve
> an effect that could be accomplished without.

There are almost unlimited number of ways to draw
shadow. "The exact algorithm is not specified."
(C) http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-box-shadow
BTW: where is alpha-value or opaque parameter?
In fact the shadow is a decoration artistic stuff and
no one real artist/web designer will rely on differences
in shadow rendering in different UAs.

Conclusion #1: Having border-image feature  implemented, shadows will be
rendered using border images in most of the cases.

The same apply to the rounded corners.
Rounded corners are useless without antialiasing.
There are many ways to draw antialiased lines and curves.
Professional web design will never rely on them. Border images
will be used instead.

For me 'box-shadow' and 'border-radius' and the way they are defined
looks like a naive attempt to provide a "cool features" which will be
used only by "naive designers". Real professionals will never use them.

This is exactly the same situation as we have with:
border-style: groove, ridge, inset, outset.
Never defined strictly - never used.

Andrew Fedoniouk.
http://terrainformatica.com

BTW: Does anybody know how box-shadow supposed to be rendered
on media: print? As a rule printing surfaces do not have pixel based 
transparency in the
common sense - they are almost vector devices.



----- Original Message ----- 
From: "Philip TAYLOR" <P.Taylor@Rhul.Ac.Uk>
To: "Andrew Fedoniouk" <news@terrainformatica.com>
Cc: <www-style@w3.org>
Sent: Thursday, February 17, 2005 4:37 AM
Subject: Re: [css3-background], comments on 'box-shadow'


>I would be very much against any proposal
> that required me to use images to achieve
> an effect that could be accomplished without.
>
> Philip Taylor
> --------
> Andrew Fedoniouk wrote:
>
>>
>> As soon as you have border image defined
>> 'box-shadow' attribute is not needed.
>>
>> It is easy to define shadow of the box (or reach the same visual effect) 
>> by using border image (possibly with alpha). See 
>> http://terrainformatica.com/w3/expandable.png as an example.
>> (third box from bottom)
>>
>> And border image paradigm is more universal.
>>
>>> The CSS working group published a new working draft today: the CSS3
>>> Backgrounds and Borders Module.
>>>
>>>    http://www.w3.org/TR/2005/WD-css3-background-20050216
>>>
>>
>> Andrew Fedoniouk.
>> http://terrainformatica.com
>>
> 
Received on Thursday, 17 February 2005 18:49:13 GMT

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