File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -383,13 +383,16 @@ Implementations MAY define an upper limit on the resolved value
383383of a digit size option option consistent with that implementation's practical limits.
384384
385385In most cases, the value of a digit size option will be a string that
386- encodes the value as a decimal integer.
386+ encodes the value as a non-negative integer.
387387Implementations MAY also accept implementation-defined types as the value.
388388When provided as a string, the representation of a digit size option matches the following ABNF:
389389>```abnf
390390> digit-size-option = "0" / (("1"-"9") [DIGIT])
391391>```
392392
393+ If the value of a digit size option does not evaluate as a non-negative integer,
394+ or if the value exceeds any implementation-defined upper limit
395+ or any option-specific lower limit, a _Bad Option Error_ is emitted.
393396
394397### Number Selection
395398
You can’t perform that action at this time.
0 commit comments