Re: Feature queries

On Thu, 10 Dec 2009 17:28:47 +0100, Brad Kemper <brad.kemper@gmail.com>  
wrote:
> I like it. Of course, I am one to say publicly that browser detection is  
> useful (which I know is contentious). Like this:
>
>  input#userID  { background-image: url(images/label-UserID.png); }
>  @supports ( -webkit-box-reflect:below ) {
>       /* webkit UAs only: */
>       /* (nothing to do with box-reflect) */
>   input#userID  { background-image: none; }
>   }
>  input:focus {background-image: none; }

I think this demonstrates why this is a bad idea. It will be much harder  
for WebKit to phase out support for the prefixed version of box-reflect  
after hacks like this get deployed.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Thursday, 10 December 2009 16:54:24 UTC