Bug 147217

Summary: REGRESSION(r182236): Justified Arabic text does not expand
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, dino, jonlee, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch simon.fraser: review+

Description Myles C. Maxfield 2015-07-22 19:14:33 PDT
Justified Arabic text does not expand
Comment 1 Myles C. Maxfield 2015-07-22 19:18:44 PDT
Created attachment 257323 [details]
Patch
Comment 2 Myles C. Maxfield 2015-07-22 19:23:30 PDT
Created attachment 257324 [details]
Patch
Comment 3 Simon Fraser (smfr) 2015-07-22 19:32:57 PDT
Comment on attachment 257324 [details]
Patch

Is this testable?
Comment 4 Simon Fraser (smfr) 2015-07-22 19:35:10 PDT
Comment on attachment 257324 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=257324&action=review

> Source/WebCore/platform/graphics/mac/ComplexTextController.cpp:682
> +                bool firstCharacter = !(characterIndex + complexTextRun.stringLocation());

firstCharacter doesn't sound boolean. isFirstCharacter? hasFirstCharacter?
Comment 5 Myles C. Maxfield 2015-07-23 11:32:40 PDT
(In reply to comment #3)
> Comment on attachment 257324 [details]
> Patch
> 
> Is this testable?

It is tested by fast/text/international/arabic-justify.html (which is currently failing)
Comment 6 Myles C. Maxfield 2015-07-23 12:16:39 PDT
Committed r187244: <http://trac.webkit.org/changeset/187244>
Comment 7 Radar WebKit Bug Importer 2015-07-23 12:28:10 PDT
<rdar://problem/21966931>