From ee016268c5924cab0c9a55037d388b3cdb33a7c0 Mon Sep 17 00:00:00 2001
From: Frank Yung-Fong Tang
Date: Thu, 19 Dec 2024 10:08:31 -0800
Subject: [PATCH] Update index.html
Co-authored-by: printfn <1643883+printfn@users.noreply.github.com>
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 917d546..a3b702b 100644
--- a/index.html
+++ b/index.html
@@ -3347,7 +3347,7 @@ 1.1.7 CharacterDirectionOfLocale ( locThe abstract operation CharacterDirectionOfLocale takes argument loc (an Intl.Locale) and returns "ltr" or "rtl". The following algorithm refers to Locale data specified in UTS 35's Layouts Elements. It performs the following steps when called:
- Let locale be loc.[[Locale]].
- Let script be GetLocaleScript(locale).
- If script is undefined, then
- Let maximal be the result of the Add Likely Subtags algorithm applied to locale. If an error is signaled, return "ltr".
- Set script to GetLocaleScript(maximal).
- If script is undefined, return "ltr".
- If the default general ordering of characters within a line in script is right-to-left, return "rtl".
- Return "ltr".
Note
- When the direction of default general ordering of characters within a line in the script cannot be determined, or is not right-to-left, "ltr" will be retruned.
+ When the direction of default general ordering of characters within a line in the script cannot be determined, or is not right-to-left, "ltr" will be returned.