Re: position: pointer

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 
view.

"Position: pointer" solves the most important use case (mouse-following 
tooltips / cursor additions). 

Received on Friday, 12 October 2012 20:36:02 UTC