tc39 / proposal-intl-locale-info

An API to expose information of locale, such as week data ( first day of a week, weekend start, weekend end), hour cycle, measurement system, commonly used calendar, etc.
MIT License
56 stars 11 forks source link

CharacterDirectionOfLocale doesn't handle top-to-bottom and bottom-to-top scripts #52

Closed anba closed 2 years ago

anba commented 3 years ago

CharacterDirectionOfLocale mentions characterOrder from UTS 35 layout elements, but only handles the left-to-right and right-to-left cases. It should also handle the top-to-bottom and bottom-to-top cases allowed in UTS 35 for the characterOrder element:

If the value of lineOrder is one of the vertical values, then the value of characterOrder must be one of the horizontal values, and vice versa.

cc @jfkthame and @zbraniecki

FrankYFTang commented 2 years ago

Dup of #59 See the conclusion there.