W3C home > Mailing lists > Public > www-style@w3.org > March 2015

[css3-ui] file formats for the cursor property

From: Florian Rivoal <florian@rivoal.net>
Date: Thu, 12 Mar 2015 18:39:47 +0100
Message-Id: <ABA4CD7E-654B-49D8-87EB-7E9BA88575FA@rivoal.net>
Cc: Tantek Çelik <tantek@cs.stanford.edu>
To: www-style list <www-style@w3.org>
In addition to a predefined list of values, the cursor property allows authors to provide the cursor as an external file, indicated by the url() function.

Unfortunately, the spec makes no mention of which file format must or should be supported. It would be nice for authors to be able to depend on something, and for test writing, having no format mandated makes things tricky.

As far as I can tell, all browsers that support this notation accept the Microsoft .ico and .cur formats (.cur being essentially the same as .ico, with the addition of pointer hotspot coordinates).

Given the interop, I think we should include a MUST requirement for this file format. However, this raise the question of a spec for that file format. There's this[1], but it describes an older (1995) version, and then there's a series of blog posts on "the old new thing" [2][3][4][5]. Is there anything better out there?

In addition, all browsers other than IE support the usual image formats: PNG, JPG, GIF, BMP as well as SVG. I think it would be useful to push (at least with a should, preferably with a must) for at least some of these in css3-ui. I'd favor PNG and SVG, but I'm happy to include more if there's consensus.

Thoughts?

 - Florian

[1] https://msdn.microsoft.com/en-us/library/ms997538.aspx

[2] http://blogs.msdn.com/b/oldnewthing/archive/2010/10/18/10077133.aspx
[3] http://blogs.msdn.com/b/oldnewthing/archive/2010/10/19/10077610.aspx
[4] http://blogs.msdn.com/b/oldnewthing/archive/2010/10/21/10078690.aspx
[5] http://blogs.msdn.com/b/oldnewthing/archive/2010/10/22/10079192.aspx
Received on Thursday, 12 March 2015 17:40:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC