Previous Message
Next Message

Re: [css-d] Proper Use of @import

Sent by B.K. DeLong on 31 January 2002 12:12


At 04:48 PM 01/31/2002 +0000, Andrew Clover wrote:
>Randal Rust [EMAIL-REMOVED]> wrote:
>
> > What I'm thinking is this:  Why doesn't the W3C add another rule, called
> > @browser?  Then you could set browser-specific style sheets without
> > Javascript.
>
>   5. the browser ends up pretending to be another browser pretending to
>      be yet another browser, the code to detect all this is insanely
>      complex and unreliable, and the whole thing becomes basically useless.
>
>It's a shame, but this seems to be the nature of the marketplace.

I don't think any browser company would be that stupid. Changing their 
referrer information (ie "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.0; Q312461)" ) would have all the privacy and security advocates and 
organizations hot on their tail for missrepresentation.

I haven't fully checked out the new CSS technical reports but what I think 
we really need is to extend media types 
(http://www.w3.org/TR/REC-CSS2/media.html). One of the items I noticed (and 
it may have been discussed before elsewhere) is that what standard is the 
media type based on? Should companies making User Agents have their 
browsers specify what the media type is?

Anyway, being able to associate a media type with the referring info 
(Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221") would 
really help us in stylesheet development. For instance if we know a certain 
build of Mozilla is missing support of something (though not likely) or IE7 
completely ignores aural features of CSS2 then we can use @import and media 
types to select what stylesheet for what user agent.

But perhaps that will discourage companies from better implementing 
standards...hmmm.


--
B.K. DeLong
[EMAIL-REMOVED]
617.877.3271

http://www.brain-stream.com               Play.
http://www.the-leaky-cauldron.org        Potter.
http://www.attrition.org                       Security.
http://www.artemisiabotanicals.com     Herb.
Previous Message
Next Message

Message thread: