From 986ec9dac24060dfb8aad162ffd640e361b9b6a9 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 25 Nov 2024 17:09:28 +0900 Subject: [PATCH] Specify language tag fallback support This relies on the infrastructure from ECMA-402 to give sensible answers about language support even in the presence of language subtags. --- index.bs | 105 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 86 insertions(+), 19 deletions(-) diff --git a/index.bs b/index.bs index 6e191b9..f57a590 100644 --- a/index.bs +++ b/index.bs @@ -20,6 +20,16 @@ Die On: warning +
+urlPrefix: https://tc39.es/ecma402/; spec: ECMA-402
+  type: dfn
+    text: [[AvailableLocales]]; url: sec-internal-slots
+    text: Unicode canonicalized locale identifier; url: sec-language-tags
+  type: abstract-op
+    text: LookupMatchingLocaleByBestFit; url: sec-lookupmatchinglocalebybestfit
+    text: IsStructurallyValidLanguageTag; url: sec-isstructurallyvalidlanguagetag
+    text: CanonicalizeUnicodeLocaleId; url: sec-canonicalizeunicodelocaleid
+