Bug 172006

Summary: [macOS] REGRESSION: Drag images for links with right-to-left titles are incorrect
Product: WebKit Reporter: mitz
Component: WebCore Misc.Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, dino, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch dino: review+

Description mitz 2017-05-11 18:09:54 PDT
The drag image for a link whose title runs right-to-left is wrong: truncation happens at the wrong place, and when there are two lines, alignment is wrong.
Comment 1 Radar WebKit Bug Importer 2017-05-12 14:49:28 PDT
<rdar://problem/32165137>
Comment 2 Tim Horton 2017-05-16 17:14:42 PDT
Created attachment 310322 [details]
Patch
Comment 3 Dean Jackson 2017-05-16 17:43:18 PDT
Comment on attachment 310322 [details]
Patch

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

Where are the tests?

> Source/WebCore/platform/mac/DragImageMac.mm:219
> +        CTParagraphStyleSetting paragraphStyleSettings[1];

Should paragraphStyleSettings be captured?
Comment 4 Dean Jackson 2017-05-16 17:47:00 PDT
Comment on attachment 310322 [details]
Patch

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

>> Source/WebCore/platform/mac/DragImageMac.mm:219
>> +        CTParagraphStyleSetting paragraphStyleSettings[1];
> 
> Should paragraphStyleSettings be captured?

Ignore this.
Comment 5 Tim Horton 2017-05-16 17:54:14 PDT
http://trac.webkit.org/changeset/216962/webkit

Consider it ignored. Thank you!