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


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

Received on Thursday, 13 March 2008 14:24:00 UTC