- From: François REMY <fremycompany_pub@yahoo.fr>
- Date: Fri, 12 Oct 2012 22:35:39 +0200
- 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 view. "Position: pointer" solves the most important use case (mouse-following tooltips / cursor additions).
Received on Friday, 12 October 2012 20:36:02 UTC