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

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 UTC