Bug 112507

Summary: Only add wordspacing when kerning to actual word ends
Product: WebKit Reporter: Dean Jackson <dino>
Component: TextAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: enrica, eric, esprehn+autocc, leviw, mitz, ojan.autocc, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 112610    
Attachments:
Description Flags
Patch
none
Patch
none
Patch enrica: review+

Description Dean Jackson 2013-03-16 17:30:52 PDT
When measuring text in kerning mode, we currently add the word spacing to every wordMeasurement. However, not all are actual word breaks.

<rdar://problem/12945869>
Comment 1 Dean Jackson 2013-03-16 17:38:13 PDT
Created attachment 193449 [details]
Patch
Comment 2 Dean Jackson 2013-03-17 04:28:12 PDT
Created attachment 193461 [details]
Patch
Comment 3 Enrica Casucci 2013-03-18 10:39:01 PDT
The patch doesn't contain the test, only the ChangeLog for LayoutTests.
Comment 4 Dean Jackson 2013-03-18 10:51:10 PDT
Created attachment 193602 [details]
Patch
Comment 5 Enrica Casucci 2013-03-18 10:56:46 PDT
Comment on attachment 193602 [details]
Patch

Looks good. Thanks for fixing this!
Comment 6 Dean Jackson 2013-03-18 11:06:03 PDT
Committed r146087: <http://trac.webkit.org/changeset/146087>