From 96357ee9b0a873798ff2765058ddd8038c212355 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Thu, 16 Dec 2021 15:42:25 -0500 Subject: [PATCH] Editorial: Document CanonicalCodeForDisplayNames argument types --- spec/displaynames.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/displaynames.html b/spec/displaynames.html index 8182ec1b..98750c20 100644 --- a/spec/displaynames.html +++ b/spec/displaynames.html @@ -7,7 +7,7 @@

Abstract Operations for DisplayNames Objects

CanonicalCodeForDisplayNames ( _type_, _code_ )

- The CanonicalCodeForDisplayNames abstract operation is called with arguments _type_ and _code_. It verifies that the _code_ argument represents a well-formed code according to the _type_ argument and returns the case-regularized form of the _code_. The algorithm refers to UTS 35's Unicode Language and Locale Identifiers grammar. The following steps are taken: + The CanonicalCodeForDisplayNames abstract operation takes arguments _type_ (a String) and _code_ (a String). It verifies that the _code_ argument represents a well-formed code according to the _type_ argument and returns the case-regularized form of the _code_. The algorithm refers to UTS 35's Unicode Language and Locale Identifiers grammar. The following steps are taken:

1. If _type_ is *"language"*, then