W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: cursor: zoom-in and zoom-out; other possible CSS3 cursors

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Tue, 22 Feb 2011 16:44:45 -0800
Message-ID: <AANLkTi=54F2+dgEYyWeCbViXnJQB+=EnVHSOwQ6tCbvG@mail.gmail.com>
To: www-style@gtalbot.org
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, "Philip Jägenstedt" <philipj@opera.com>, www-style@w3.org
On Sat, Feb 19, 2011 at 08:07, "Gérard Talbot" <www-style@gtalbot.org> wrote:
> Le Ven 18 février 2011 10:52, Tantek Çelik a écrit :
>> On Fri, Feb 18, 2011 at 07:01, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
>>> * Philip Jägenstedt wrote:
>>>>With the release of Opera 11.10, we added two new cursor types:
>>>> -o-zoom-in
>>>>and -o-zoom-in. (These are used for a new image viewer.) Mozilla already
>>>>supports -moz-zoom-in and -moz-zoom-out,
>> Verified in Firefox and I only have Opera 11.01 on MacOS X so I am
>> unable to verify the support for -o-zoom-in and -o-zoom-out but your
>> word on a second implementation is good enough for an editor's draft.
>>>> so perhaps we should start
>>>>thinking about standardizing this? I can imagine it would be generally
>>>>useful on the larger web for things like zoom-able maps.
>> Agreed.
>> Added to CSS3 UI editor's draft (since this new feature can exit CR
>> once we complete the LCWD bounce dance cycle).
>> http://dev.w3.org/csswg/css3-ui/#cursor
> Tantek,
> You did not provide a description of the shape of those zoom-in, zoom-out
> cursors.
> Proposed text:
> Often rendered as a magnifying glass with a "+" sign in its center for
> zoom-in and with a "-" sign in its center for zoom-out.

Thanks for pointing this out. I've added a description similar to what
you suggested.


> dynamic-zoom: Adobe (in one of its application: IIRC, it was Acrobat
> Reader) uses a cursor to allow the user to increase or decrease the
> dimensions of objects like an image.
> DHTML demo using it:
> http://www.gtalbot.org/DHTMLSection/DynamicMagnification.html

Nice demo. Do any browsers support this cursor as an extension?

> grab and grabbing cursors:
> Those should be added into CSS 3 UI

No they should not because there is only one implementation.

The only features I'm adding to CSS3 UI (which is already a CR) are
those that already have 2+ interoperable implementations (i.e. will
not block the next CR).

I've added those cursors to considerations for CSS 4 UI.


However if you can convince Opera or Webkit to implement and ship
cursor: grab and grabbing (even prefixed), then as with zoom-in/out,
that would be sufficient to add them to CSS3 UI.

> Other cursors:
> http://www.gtalbot.org/DHTMLSection/Cursors.html#Proprietary

Thanks, this is a good write-up. I've referenced it from the CSS4-UI wiki page.


http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5
Received on Wednesday, 23 February 2011 00:46:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:43 UTC