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

Re: position: pointer

From: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
Date: Wed, 10 Oct 2012 10:53:58 +0300
Message-ID: <CAJhzemXmvR9fWO6NEo9J3-08NyUfjQwL=yUNSafsWvDx+JqS5Q@mail.gmail.com>
To: Garrett Smith <dhtmlkitchen@gmail.com>
Cc: www-style@w3.org
That isn't supported out of the box, however there are two approaches that
we can take if we want that:

 * Let developers just use JS for that
 * Add a new property, called something like 'freeze-position' that can be
set on hover/focus for example to lock the position when the element is
active.

But let me ask a counter-question: what's the use case / potential
advantage for that? Quite honestly, imho stationary tooltips are quite
annoying, if your mouse is in the wrong place when they're activated, they
block your view from something and get in the way of the pointer.

Cheers,
Jussi

On Wed, Oct 10, 2012 at 1:02 AM, Garrett Smith <dhtmlkitchen@gmail.com>wrote:

> On 10/9/12, Jussi Kalliokoski <jussi.kalliokoski@gmail.com> wrote:
> > As per Brian Kardell's suggestion, and seeing that this might go
> somewhere,
> > I threw together a quick spec draft for the proposal [1].
> >
> > Cheers,
> > Jussi
> >
> > [1] http://fs.avd.io/css-pointer-position/
> >
> Can you modify your example so that when the element (tooltip) is
> shown at the pointer that it doesn't follow the cursor movement?
>
> Thanks,
> --
> Garrett
> Twitter: @xkit
> personx.tumblr.com
>
Received on Wednesday, 10 October 2012 07:54:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT