RE: [css3] "Selectors that People Actually Use"

fantasai wrote:

> Alan Gresley wrote:
> > 
> > .test {color: blue}
> > .shadow {color: #d9efaf; text-shadow: 10px 10px 0 hsla(50, 15%, 15%, 0.5)}
> > 
> > <h1 class="test">Up<span class="shadow">Size</span></h1>
> > 
> > 
> > Would should happen is that any UA that does support any property in a declaration
> > should drop the whole declaration all together. Most UA do this since most don't
> > support text shadow or hsla transparency color. 
> > ...
> >  Opera 9.5 does otherwise, it uses the whole declaration but since it does not
> > understand hsla transparency color it uses the color of the span. The rendering
> > is not pretty since the text shadow color is the same color of the text that is
> > casting the shadow.
> 
> That is broken behavior. Opera should be dropping the declaration entirely if it
> can't parse part of it. That's the whole point of forwards-compatible parsing.
> 
> ~fantasai


Yes your right, that is what I was meaning. I should have said.

"Would should happen is that any UA that DOESN"T support any property in
a declaration should drop the whole declaration all together."

Alan

http://css-class.com/

Received on Thursday, 21 February 2008 09:25:17 UTC