Re: [css-ui] css-counter-styles or cursor value regex allowing contradictive choice

On Mon, Jan 15, 2018, at 10:53 AM, Dennis Heuer wrote:
> Hello
> 
> https://www.w3.org/TR/css-ui-3/#propdef-cursor
> 
> The value-regex to the property cursor says that it's ok to declare
> both an URI and 'none', if I'm right. This will not cause an error but
> could be fixed (see below!!!) Is there a comma between URI and keyword?
> 
> Your take:
> 
> [ [<url> [<x> <y>]?,]*
> [ auto | default | none | /* possibly this line should be exclusive */
> context-menu | help | pointer | progress | wait |
> cell | crosshair | text | vertical-text |
> alias | copy | move | no-drop | not-allowed | grab | grabbing |
> e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize |
> sw-resize | w-resize | ew-resize | ns-resize | nesw-resize |
> nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out
> ] ] 
> 
> My take:
> 
> auto | default | none |
> [<url> [<x> <y>]? [, <url> [<x> <y>]?]*]?
> [
> context-menu | help | pointer | progress | wait |
> cell | crosshair | text | vertical-text |
> alias | copy | move | no-drop | not-allowed | grab | grabbing |
> e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize |
> sw-resize | w-resize | ew-resize | ns-resize | nesw-resize |
> nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out
> ] 

Thanks for your email.

As declared in an early section of the spec, nowadays the preferred way for discussing spec issues is GitHub issues. All issues posted to this list would be migrated to GitHub if it's worth further discussing. So please file issue there directly rather than posting to this list.

For this specific issue, I don't see there is any problem to allow authors to specify auto, default, or none as a fallback cursor of url.

- Xidorn

Received on Monday, 15 January 2018 01:23:18 UTC