Bug 205487 - [Win] fast/text/selection-in-initial-advance-region.html is failing since Bug 204884
Summary: [Win] fast/text/selection-in-initial-advance-region.html is failing since Bug...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-19 20:43 PST by Fujii Hironori
Modified: 2020-01-05 23:37 PST (History)
1 user (show)

See Also:


Attachments
test case (118 bytes, text/html)
2019-12-19 20:57 PST, Fujii Hironori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2019-12-19 20:43:39 PST
[Win] fast/text/selection-in-initial-advance-region.html is failing since Bug 204884

ComplexTextController::offsetForPosition is using TextBreakIterator::Mode::Caret, but it't not supported.
Comment 1 Fujii Hironori 2019-12-19 20:57:26 PST
Created attachment 386179 [details]
test case

Because TextBreakIterator::Mode::Caret isn't supported, the caret can be moved into the inside of a combining character.
Comment 2 Fujii Hironori 2020-01-05 23:34:05 PST
(In reply to Fujii Hironori from comment #1)
> Created attachment 386179 [details]
> test case
> 
> Because TextBreakIterator::Mode::Caret isn't supported, the caret can be
> moved into the inside of a combining character.

Firefox for Windows also does so.
Comment 3 Fujii Hironori 2020-01-05 23:37:39 PST
'ARABIC LETTER LAM' (U+0644) [ل]
https://www.fileformat.info/info/unicode/char/0644/

'ARABIC LETTER ALEF' (U+0627) [ا]
https://www.fileformat.info/info/unicode/char/0627/

'ARABIC FATHATAN' (U+064B) [ ً] Non-Spacing Mark [NSM]
https://www.fileformat.info/info/unicode/char/064b/


U+0627 + U+064B
→
[اً]

[ل] + [اً]
→
[لاً]