Re: [css3-ui] file formats for the cursor property

Florian Rivoal skrev:
> 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
>
>
>
>
It may be worth asking for support for animated cursors too, in the form
of *.ani files. It's quite old and just as well used as the *.cur format.

Received on Thursday, 12 March 2015 17:54:00 UTC