Re: Cursor (was: Agenda, 19 June 2014 SVG WG telcon)

Hello Tab,

Wednesday, June 18, 2014, 6:36:34 PM, you wrote:

On Jun 18, 2014 7:29 AM, "Chris Lilley" <chris@w3.org> wrote:
> However, one difference between an ordinary image format and a cursor
> format is that a cursor also defines the coordinates of the hotspot
> (the place where the cursor points). As an example, a cursor shape
> which is an arrow pointing to the upper left would have the hotspot in
> the upper left at the point of the arrow. A cursor which is like a
> crosshair would have the hotspot in the middle of the crosshairs.
>
> Thus, rather than pointing to the image file directly, SVG introduced
> a cursor element with two attributes, x and y, which are the hotspot
> coordinates and a third attribute to point to the actual image.
> http://www.w3.org/TR/SVG10/interact.html#CursorElement
>
> So you could make a cursor from a PNG (or indeed from an SVG).
>
> (All of that is explained by the first two paragraphs of 16.8.3 The
> 'cursor' element, but maybe the above explanation helps).

Of course, the 'cursor' property also allows manually specifying the
hotspot, and defines the interaction with native hotspots.

It does now, yes
http://dev.w3.org/csswg/css-ui/#cursor

It didn't in CSS2 or CSS 2.1. Those things were added in 2004 (and the
spec abandoned until 2012).

Looking in shepherd
http://test.csswg.org/shepherd/search/spec/css-ui-3/load/t113/
there are no cursor tests at all.

I wonder what the state of implementation of the URL value for cursor
and the x and y values for cursor are. If these are widely
implemented, we could deprecate the SVG cursor element as no longer
needed.

CanIUse has a page on "CSS3 cursors" but that doesn't seem to cover
URI or x and y
http://caniuse.com/css3-cursors

I'm off to make a few tests.

-- 
Best regards,
 Chris                            mailto:chris@w3.org

Received on Thursday, 19 June 2014 07:05:15 UTC