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

FYI, I found a case of a numeric property defined to have a fixed range that isn't just non-negative or strictly positive. `stroke-miterlimit` was defined to accept a number (integer or decimal) that it must be equal to or greater than 1.

AKA `<number --gte 1>`, `<number min=1>`, `<number [1,]> or however it ends up defined syntactically!

Of course, only one browser (Firefox) currently implements that exact rule as a parser-time check, see https://github.com/w3c/svgwg/issues/545

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

Received on Tuesday, 18 September 2018 22:25:55 UTC