Re: [csswg-drafts] [css-values] Define <positive-integer>, <positive-number>, <positive-length>, etc. sub-types (#355)

I'd prefer to use mathematical range notation. It's a lot more compact, and part of keeping these grammars readable is keeping them compact enough to be visually parsed.

```
<angle [-90deg,90deg]>
```
Alternately some form of colloquial range notation (same rationale).

```
<integer 1+> <integer 0+> <percentage -100% to 100%> <percentage 0 to 100%>
```

(Maybe replace "to" with a proper n-dash. ;)


-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/355#issuecomment-458344830 using your GitHub account

Received on Monday, 28 January 2019 23:30:49 UTC