Cursor not supported

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Cursor not supported

Jeroen Vanattenhoven
http://developer.mozilla.org/en/docs/SVG_in_Firefox_1.5

- Does this mean that I can't create other cursors? For example: a cross
cursor for mapping applications.
- Patterns aren't supported yet either. Is it possible to replace this
functionality with <line> elements or other methods?

Jeroen Vanattenhoven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

_______________________________________________
Mozilla-svg mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-svg
Reply | Threaded
Open this post in threaded view
|

Re: Cursor not supported

Jonathan Watt-2
Hi Jeroen,

Jeroen Vanattenhoven wrote:
> http://developer.mozilla.org/en/docs/SVG_in_Firefox_1.5
>
> - Does this mean that I can't create other cursors? For example: a cross
> cursor for mapping applications.

It means the cursor element isn't implemented, but you can do everything the
cursor element can do by using CSS3 cursor property syntax. See

   http://jwatt.org/svg/demos/custom-cursor.svg

> - Patterns aren't supported yet either. Is it possible to replace this
> functionality with <line> elements or other methods?

Perhaps you can do it with some script trickery.

-Jonathan
_______________________________________________
Mozilla-svg mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-svg
Reply | Threaded
Open this post in threaded view
|

Re: Cursor not supported

Justin Wood (Callek)
Jonathan Watt wrote:

> Hi Jeroen,
>
> Jeroen Vanattenhoven wrote:
>> http://developer.mozilla.org/en/docs/SVG_in_Firefox_1.5
>>
>> - Does this mean that I can't create other cursors? For example: a
>> cross cursor for mapping applications.
>
> It means the cursor element isn't implemented, but you can do everything
> the cursor element can do by using CSS3 cursor property syntax. See
>
>   http://jwatt.org/svg/demos/custom-cursor.svg
>

Do note, FF1.5 cannot use a .svg file (served/designed as SVG) in CSS
cursors.  This is the same underlying issue with why it cannot do the
same with <img>

~Justin Wood (Callek)
_______________________________________________
Mozilla-svg mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-svg
Reply | Threaded
Open this post in threaded view
|

Re: Cursor not supported

L. David Baron
On Thursday 2005-12-01 16:18 -0500, Justin Wood (Callek) wrote:
> Do note, FF1.5 cannot use a .svg file (served/designed as SVG) in CSS
> cursors.  This is the same underlying issue with why it cannot do the
> same with <img>

Actually, it's not (primarily) the same underlying issue.  SVG extended
the CSS 'cursor' property to refer to SVG cursor elements [1].

-David

[1] http://www.w3.org/TR/2003/REC-SVG11-20030114/interact.html#Cursors

--
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Cursor not supported

Christian Biesinger
In reply to this post by Jonathan Watt-2
Jonathan Watt wrote:
> It means the cursor element isn't implemented, but you can do everything
> the cursor element can do by using CSS3 cursor property syntax. See
>
>   http://jwatt.org/svg/demos/custom-cursor.svg

Note also
http://developer.mozilla.org/en/docs/Using_URL_values_for_the_cursor_property
_______________________________________________
Mozilla-svg mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-svg