@@ -27,18 +27,20 @@ language tags,
2727or an implementation-defined list of such tags.
2828
2929Replaces the _ locale_ defined in the _ function context_ for this _ expression_ .
30- The value is ignored when set on _ markup_ .
30+
31+ If this option is set on _ markup_ , a _ Bad Option_ error is emitted
32+ and the value of the ` u:locale ` option is ignored.
3133
3234During processing, the ` u:locale ` option
33- is always removed from the resolved mapping of _ options_ .
35+ MUST be removed from the resolved mapping of _ options_
36+ before calling the _ function handler_ .
3437
3538Values matching the following ABNF are always accepted:
3639``` abnf
37- u-locale-option = langtag *(o "," o langtag )
40+ u-locale-option = unicode_bcp47_locale_id *(o "," o unicode_bcp47_locale_id )
3841```
39- using ` langtag ` as defined in [ BCP 47] ( https://www.rfc-editor.org/rfc/bcp/bcp47.txt ) .
40- Note that ` langtag ` is the rule for "normal language tags",
41- and does not include private-use or grandfathered tags.
42+ using ` unicode_bcp47_locale_id ` as defined for
43+ [ Unicode Locale Identifier] ( https://cldr-smoke.unicode.org/spec/main/ldml/tr35.html#unicode_bcp47_locale_id ) .
4244
4345Implementations MAY support additional language tags,
4446such as private-use or grandfathered tags,
@@ -53,10 +55,13 @@ and the value of the `u:locale` option is ignored.
5355
5456Replaces the base directionality defined in
5557the _ function context_ for this _ expression_ .
56- The value is ignored when set on _ markup_ .
58+
59+ If this option is set on _ markup_ , a _ Bad Option_ error is emitted
60+ and the value of the ` u:dir ` option is ignored.
5761
5862During processing, the ` u:dir ` option
59- is always removed from the resolved mapping of _ options_ .
63+ MUST be removed from the resolved mapping of _ options_
64+ before calling the _ function handler_ .
6065
6166Accepts the following string values:
6267- ` ltr ` : left-to-right directionality
0 commit comments