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

[css3-color] multiple media and rgba()/hsla()

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 13 Mar 2008 15:23:52 +0100
To: www-style@w3.org
Message-ID: <op.t7ykx2yg64w2qv@annevk-t60.oslo.opera.com>

Hi,

If you support both screen and print output and for screen you do support  
an alpha channel and for print you don't. What happens with parsing  
rgba()/hsla() in a style sheet targeted at both screen and print? I think  
it should be acceptable to parse such a style sheet only once claiming  
support for an alpha channel if screen is your primary medium. (Which has  
the result of being potentially slightly crippled in print.)

There's a note in the specification (shouldn't that be normative?) that  
seems to forbid this and I think it should be reworded to allow this.  
Maybe: "If RGBA values are not supported by the primary medium of the user  
agent they should be treated like unrecognized values as per the CSS  
forward compatibility parsing rules. ..."

Kind regards,


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 13 March 2008 14:24:00 GMT

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