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

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

From: Alan Gresley <alan1@azzurum.com>
Date: Thu, 21 Feb 2008 02:25:03 -0700
To: fantasai <fantasai.lists@inkedblade.net>
cc: (wrong string) åkon_Wium_Lie" <howcome@opera.com>
Message-ID: <20080221022503.34b83c2f3c9bef00757a2c62c0fb7450.26af22d89a.wbe@email.secureserver.net>

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 GMT

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