It's late, so maybe I'm feeling dense - but is what you're saying is
that the "media" attribute won't work as a passthrough attribute?
That's certainly a bug - though a spec bug. Could you file it please?
I thought media="all" was the default, btw?
Regardless, you have two workarounds: first, just manually put the
<LINK REL="stylesheet" TYPE="text/css"
MEDIA="all" HREF="foo.css">
reference in the header.
The second, you could put either of these into a css file:
@import url("fancyfonts.css") screen;
@media print {
/* style sheet for print goes here */
}
But yes, that sounds like something we should fix. Please file it as a
P3 (there is a workaround, after all).
Jim
On 7/10/09 2:14 PM, webtier_at_javadesktop.org wrote:
> Jim, I just switched to the latest SNAPSHOT. the re-ordering issue is gone with that. However the outputStyleSheet is missing the media attribute. After having the re-ordering fixed, I was able to track down my original problem with some CSS library (using oocss). They need the media attribute (here media="all").
>
> I will file a bug for that one. Thanks!
> [Message sent by forum member 'mahrer' (mahrer)]
>
> http://forums.java.net/jive/thread.jspa?messageID=355188
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>