From 8322f72741462732322bdc88fe2ef52bfe4cd5fd Mon Sep 17 00:00:00 2001
From: Christian Liebel
The [=manifest's=]
@@ -487,20 +487,9 @@
- Direction determined from content using Rule P2 of the [[UAX9]] algorithm.
-
@@ -508,22 +497,6 @@
dir
member specifies the base
- direction for the localizable members of the
- manifest. The [=manifest/dir=] member's value can be set to a
+ "manifest">dir member specifies the default string
+ direction for the localizable members of the manifest.
+ The [=manifest/dir=] member's value can be set to a
text-direction.
"auto" (default)
"[=text-direction/ltr=]", "[=text-direction/rtl=]",
"[=text-direction/auto=]" ».
- When displaying the localizable members to an end-user, the - use agent SHOULD: -
-To process the `dir` member, given [=ordered map=] |json:ordered map| and [=ordered map=] |manifest:ordered map|: @@ -549,12 +522,14 @@
lang
member is a [=string=] in the form of a
[=language tag=] that specifies the language for the values of the
- manifest's [=localizable members=].
+ manifest's [=localizable members=]. If the `lang` member is not
+ specified, the language is treated as unknown.
- Specifying the language improves the user experience by helping - user agents select the most appropriate processing or resources, - such as fonts, styling, hyphenation, or text-to-speech voices for accessibility. + Specifying the language improves the user experience by helping user + agents select the most appropriate processing or resources, such as + fonts, styling, hyphenation, or text-to-speech voices for + accessibility.
A language tag is a [=string=] that matches the production @@ -1664,10 +1639,9 @@