W3C home > Mailing lists > Public > www-style@w3.org > December 2009

Re: Feature queries

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 10 Dec 2009 17:53:40 +0100
To: "Brad Kemper" <brad.kemper@gmail.com>, fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <op.u4qejqau64w2qv@anne-van-kesterens-macbook.local>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT