Skip to content

Commit 720090c

Browse files
authored
Provide a link to MDN for options and their values (#768)
An implementer contacted me asking where the specific options and their values were documented. I pointed out the documentation in MDN. This PR provides non-normative links to that information to help others.
1 parent 41285c2 commit 720090c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

spec/registry.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ The defaults for these options are implementation-dependent.
367367
In general, the default values for such options depend on the locale,
368368
the value of other options, or both.
369369
370+
> [!NOTE]
371+
> The names of _options_ and their _values_ were derived from the
372+
> [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options)
373+
> in JavaScript's `Intl.NumberFormat`.
374+
370375
The following options and their values are required to be available on the function `:number`:
371376
- `select`
372377
- `plural` (default; see [Default Value of `select` Option](#default-value-of-select-option) below)
@@ -492,6 +497,11 @@ The defaults for these options are implementation-dependent.
492497
In general, the default values for such options depend on the locale,
493498
the value of other options, or both.
494499
500+
> [!NOTE]
501+
> The names of _options_ and their _values_ were derived from the
502+
> [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options)
503+
> in JavaScript's `Intl.NumberFormat`.
504+
495505
The following options and their values are required in the default registry to be available on the
496506
function `:integer`:
497507
- `select`
@@ -777,6 +787,11 @@ output.
777787
If both are specified, an _Invalid Expression_ error MUST be emitted
778788
and a _fallback value_ used as the resolved value of the _expression_.
779789
790+
> [!NOTE]
791+
> The names of _options_ and their _values_ were derived from the
792+
> [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions#description)
793+
> in JavaScript's `Intl.DateTimeFormat`.
794+
780795
##### Style Options
781796
782797
The function `:datetime` has these _style options_.

0 commit comments

Comments
 (0)