MozillaZine

Does Mozilla support CSS cursor:url(somefile)?

Discussion of features in Seamonkey
johann_p

User avatar
 
Posts: 8479
Joined: November 5th, 2002, 3:05 am
Location: Sheffield, UK

Post Posted December 29th, 2002, 7:52 am

Since this came up in MozillaNews, does anyone know if it is possible to get the CSS construct

cursor: url(file1), url(file2)

to work in Mozilla? Does it need some special file format? Does it work at all?

Rick Bull

User avatar
 
Posts: 76
Joined: November 10th, 2002, 12:31 pm
Location: England

Post Posted December 30th, 2002, 6:24 am

Just going from memory I don't think Mozilla supports it at all (don't think opera does either, unless it's new to v7). Also in the draft of CSS 2.1 I thihnk URL for cursors have been removed for some reason.

seb

User avatar
 
Posts: 1578
Joined: November 4th, 2002, 11:26 pm
Location: Paris, France

Post Posted December 30th, 2002, 7:16 am

Johann_P wrote:Since this came up in MozillaNews, does anyone know if it is possible to get the CSS construct

cursor: url(file1), url(file2)

to work in Mozilla? Does it need some special file format? Does it work at all?
Don't think it's supported.
ppk couldn't get it to work: http://www.xs4all.nl/~ppk/css2tests/cursor.html

Arctic Dragon
 
Posts: 199
Joined: December 16th, 2002, 4:44 pm
Location: Ottawa, Canada

Post Posted January 1st, 2003, 2:28 pm

I think only IE supports it so far.
I tried a quick test page I made that contained cursor: url("cursor.cur"), hand; with IE6, Mozilla 1.3 and Opera 7 Beta 2, and only IE displayed the cursor I made.

herman
 
Posts: 1034
Joined: November 7th, 2002, 3:45 pm

Post Posted January 1st, 2003, 4:57 pm

Arctic Dragon wrote:I think only IE supports it so far.
I tried a quick test page I made that contained cursor: url("cursor.cur"), hand; with IE6, Mozilla 1.3 and Opera 7 Beta 2, and only IE displayed the cursor I made.


I quote from the link above:

ppk wrote:http://www.xs4all.nl/~ppk/css2tests/cursor.html

cursor: pointer. This is the W3C approved way to change the cursor to a hand. Microsoft at first disagreed, which is why Explorer 4-5.5 on Windows don't support this style. Only Explorer 6 has added W3C support. Explorer on Mac does support pointer.

cursor: hand. This is the Microsoft value to make the cursor a hand.


Only Microsoft supports it´s own "standards",
but standards are not made by a single company,
standards should serve the industry and therefore be independent from a single company.
The standards setting organization is W3C!

ppk wrote:The only true cross-browser syntax for a hand is:

p.pointerhand {
cursor: pointer;
cursor: hand;
}

Note that the two declarations must be in this order.



herman

johann_p

User avatar
 
Posts: 8479
Joined: November 5th, 2002, 3:05 am
Location: Sheffield, UK

Post Posted January 2nd, 2003, 12:18 am

cursor: url(..) is in the current W3C recommendation: http://www.w3.org/TR/REC-CSS2/ui.html#cursor-props

Obviously IE is the only browser that supports this W3C recommendation. That is all there is to it.

herman
 
Posts: 1034
Joined: November 7th, 2002, 3:45 pm

Post Posted January 2nd, 2003, 3:56 am

Johann_P wrote:cursor: url(..) is in the current W3C recommendation: http://www.w3.org/TR/REC-CSS2/ui.html#cursor-props

Obviously IE is the only browser that supports this W3C recommendation. That is all there is to it.


Arctic Dragon wrote:I tried a quick test page I made that contained cursor: url("cursor.cur"), hand; only IE displayed the cursor I made.


then reread my posting:
cursor:hand is MS proprietary, cursor:pointer the w3c proposal.

So why did he test if IE6, Mozilla 1.3 and Opera 7 supports it?
That is no scientific test,
IE6 must support it, since it is his own spec,
the others are not specified to conform to MS-standards.

You have been asking for support of a W3C-standard,
Arctic Dragon stated the non-support of a non-standard by non-IE6-browsers.

herman

johann_p

User avatar
 
Posts: 8479
Joined: November 5th, 2002, 3:05 am
Location: Sheffield, UK

Post Posted January 2nd, 2003, 5:29 am

you either misunderstood the CSS code or the post: the point is whether the browsers support the cursor:url(ss) construct, not the cursor: hand construct. I did a test myself with cursor: url(...), auto; with all these browsers and can confirm that only IE supports this.

That IE supports the non-W3C "hand" is a completely different issue and irrelevent to the topic discussed here.

For your info: the recommended behavior for "cursor: uri(some1), uri(some2), auto;" or "cursor: uri(some1), uri(some2), hand;" or whatever is that the UA uses the first one it supports or inherits the default one.
So if Mozilla would support cursor:uri() it would not need to look at "hand" or whatever comes after it.
(You can use cursor: hand, pointer; to make both Mozilla and IE happy)

raj_bhaskar

User avatar
 
Posts: 1869
Joined: November 7th, 2002, 3:50 am
Location: Glasgow, Scotland

Post Posted January 12th, 2003, 4:11 pm

Johann_P wrote:Since this came up in MozillaNews, does anyone know if it is possible to get the CSS construct

cursor: url(file1), url(file2)

to work in Mozilla? Does it need some special file format? Does it work at all?


See <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=38447">bug 38447</a>, if I'm understanding you correctly.

Return to SeaMonkey Features


Who is online

Users browsing this forum: No registered users and 1 guest