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

Re: Stretchy backgrounds? (background-width,height properties)

From: Chris Lilley <chris@w3.org>
Date: Thu, 12 Jul 2001 20:17:31 +0200
Message-ID: <3B4DE9BB.FF80C718@w3.org>
To: Manos Batsis <m.batsis@bsnet.gr>
CC: www-style@w3.org


Manos Batsis wrote:

> > Yes. But the resence of the group opacity prperty 'opacity' does not
> > preclude being able to set, for example, border opacity using
> > a separate
> > property.
> 
> The ability to have styling on element attributes like borders and
> background will really help accomplish one of the major goals of css,
> separation of content & presentation. I hope we will see something in
> the specs in the near future.
> In a way, this has been done from the beginning. For example,
> border-width is under the border domain attribute.

Agreed.

> > For examples, see the SVG spec whichhas the group opacity property
> > 'opacity' but also has fill opacity, stroke opacity, opacity
> > on stops on
> > a gradient, and so forth.
> 
> While filters (besides being proprietary) give the effect on the element
> as a whole, including children. 

Yes. Except the filters are not proprietary.

> In other words, filter styles document
> fragments...

Yes. It styles the rendering of an entire subtree. So does the opacity
property. This is why it is not inherited.

-- 
Chris
Received on Thursday, 12 July 2001 14:18:21 GMT

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