Skip to content

Commit 0640159

Browse files
committed
Add explicit default "inherit" value
1 parent f469542 commit 0640159

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spec/formatting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,8 @@ The _Default Bidi Strategy_ is defined as follows:
939939
1. Let `dir` be the directionality of `fmt`,
940940
one of « `'LTR'`, `'RTL'`, `'unknown'` », with the same meanings as for `msgdir`.
941941
1. Let the boolean value `isolate` be
942-
True if the `u:dir` _option_ is set on the _resolved value_ of `exp`,
943-
or False if it is not set or the implementation does not support the option.
942+
True if the `u:dir` _option_ of the _resolved value_ of `exp` has a value other than `'inherit'`,
943+
or False otherwise.
944944
1. If `dir` is `'LTR'`:
945945
1. If `msgdir` is `'LTR'` in the formatted output
946946
and `isolate` is False,

spec/u-namespace.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ or a _variable_ whose _resolved value_ is one of these _literals_:
8484
- `ltr`: left-to-right directionality
8585
- `rtl`: right-to-left directionality
8686
- `auto`: directionality determined from _expression_ contents
87+
- `inherit` (default): directionality inherited from the _message_,
88+
without isolation of the _expression_ value
8789

8890
For other values, a _Bad Option_ error is emitted
8991
and the value of the `u:dir` option is ignored.

0 commit comments

Comments
 (0)