mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
ported from mozilla: Bug 1819025 - Don't consider following join-controls when determining whether a space is collapsible. r=emilio (fad4426b7b)
This commit is contained in:
parent
ff8673e87e
commit
854fac5c4c
3 changed files with 17 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ public:
|
|||
static bool
|
||||
IsSpaceCombiningSequenceTail(const char16_t* aChars, int32_t aLength) {
|
||||
return aLength > 0 &&
|
||||
(mozilla::unicode::IsClusterExtender(aChars[0]) ||
|
||||
(mozilla::unicode::IsClusterExtenderExcludingJoiners(aChars[0]) ||
|
||||
(IsBidiControl(aChars[0]) &&
|
||||
IsSpaceCombiningSequenceTail(aChars + 1, aLength - 1)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue