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

Re: Proposal: useragent at-rule

From: Felipe Gasper <fgasper@freeshell.org>
Date: Mon, 29 Mar 2004 16:12:50 -0600
Message-ID: <40689F62.5020101@freeshell.org>
Cc: www-style@w3.org

Quoth Dave Shea on 3/29/2004 4:03 PM...

> Simply: we need a way to gracefully degrade our style for flawed and 
> older browsers, so as not to hinder usability/accessibility for our end 
> users.
> 
> I don't see anything in the official spec that provides an opportunity 
> to do this. I think that's a shame.

The way to do this is NOT to introduce browser-specific code into CSS, but to 
test for support of individual features:

@supports(td:hover) {
	/* CSS code */
}

Part of the reason for having official standards is to lessen the dependence 
upon coding for a particular browser; having that standard explicitly account 
for browser peculiarities wouldn't make sense.

-FG
Received on Monday, 29 March 2004 17:12:52 GMT

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