Skip to content

Commit

Permalink
Bring back stucturally valid language tags
Browse files Browse the repository at this point in the history
  • Loading branch information
christianliebel committed Jul 15, 2024
1 parent 184b865 commit c5dc9ae
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,14 @@ <h3>
<li>If |json|["lang"] doesn't [=map/exist=] or if |json|["lang"] is
not a [=string=], return.
</li>
<li>[=Map/Set=] |manifest|["lang"] to |json|["lang"].
<li>If calling <a data-cite=
"ECMA-402#sec-isstructurallyvalidlanguagetag">IsStructurallyValidLanguageTag</a>
with |json|["lang"] returns `false`, return.
</li>
<li>[=Map/Set=] |manifest|["lang"] to the result of calling the
<a data-cite=
"ECMA-402#sec-canonicalizeunicodelocaleid">CanonicalizeUnicodeLocaleId</a>
abstract operation with |json|["lang"].
</li>
</ol>
</section>
Expand Down

0 comments on commit c5dc9ae

Please sign in to comment.