From ac793789ee63167c570b4c3c6bd78bd07a014a95 Mon Sep 17 00:00:00 2001 From: Addison Phillips Date: Sat, 13 Apr 2024 07:13:08 -0700 Subject: [PATCH] Provide a link to MDN for options and their values 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. --- spec/registry.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/spec/registry.md b/spec/registry.md index 12cd6eb44b..32668e5f16 100644 --- a/spec/registry.md +++ b/spec/registry.md @@ -367,6 +367,11 @@ The defaults for these options are implementation-dependent. In general, the default values for such options depend on the locale, the value of other options, or both. +> [!NOTE] +> The names of _options_ and their _values_ were derived from the +> [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options) +> in JavaScript's `Intl.NumberFormat`. + The following options and their values are required to be available on the function `:number`: - `select` - `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. In general, the default values for such options depend on the locale, the value of other options, or both. +> [!NOTE] +> The names of _options_ and their _values_ were derived from the +> [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options) +> in JavaScript's `Intl.NumberFormat`. + The following options and their values are required in the default registry to be available on the function `:integer`: - `select` @@ -777,6 +787,11 @@ output. If both are specified, an _Invalid Expression_ error MUST be emitted and a _fallback value_ used as the resolved value of the _expression_. +> [!NOTE] +> The names of _options_ and their _values_ were derived from the +> [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions#description) +> in JavaScript's `Intl.DateTimeFormat`. + ##### Style Options The function `:datetime` has these _style options_.