W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: position: pointer

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Fri, 12 Oct 2012 22:35:39 +0200
Message-ID: <90366446D04B4BB8A21D55E773ABF309@FREMYD2>
To: "Lea Verou" <lea@w3.org>, "Jussi Kalliokoski" <jussi.kalliokoski@gmail.com>
Cc: <www-style@w3.org>
Creating a unit which would only be valid for certain properties and in 
certain cases doesn't seem a very good idea to me. It would be impossible to 
get a radial gradient's center to follow the mouse on an element even if we 
had a 'mouse' unit because that unit would have to be relative to the 
element itself (and if the position of the element depends itself on the 
mouse position, we get an unresolvable problem). For those kinds of 
problems, I believe scripting will stay the best solution because it can 
always extend to something more complex or taking more parameters in 
account; while CSS doesn't. But I can be wrong, and this is just a point of 

"Position: pointer" solves the most important use case (mouse-following 
tooltips / cursor additions). 
Received on Friday, 12 October 2012 20:36:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:04 UTC