Bug 89814 - RenderText’s minimum preferred width is incorrect if automatic hyphenation is used
Summary: RenderText’s minimum preferred width is incorrect if automatic hyphenation is...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 89820
  Show dependency treegraph
 
Reported: 2012-06-23 12:21 PDT by mitz
Modified: 2012-06-25 17:27 PDT (History)
4 users (show)

See Also:


Attachments
When computing the minimum width taken up by a hyphenated word, use its widest hyphenated fragment (8.64 KB, patch)
2012-06-23 12:30 PDT, mitz
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2012-06-23 12:21:28 PDT
<rdar://problem/11708902>

RenderText::computePreferredLogicalWidths does not account for the possibility to fit a word in a narrower container by hyphenating it, when 'hyphens: auto' is specified.
Comment 1 mitz 2012-06-23 12:30:29 PDT
Created attachment 149176 [details]
When computing the minimum width taken up by a hyphenated word, use its widest hyphenated fragment
Comment 2 Sam Weinig 2012-06-23 14:12:18 PDT
Comment on attachment 149176 [details]
When computing the minimum width taken up by a hyphenated word, use its widest hyphenated fragment

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

> Source/WebCore/ChangeLog:3
> +        RenderTextâs minimum preferred width is incorrect automatic hyphenation is used

The apostrophe seems to have had some issues.
Comment 3 mitz 2012-06-23 14:21:33 PDT
(In reply to comment #2)
> (From update of attachment 149176 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=149176&action=review
> 
> > Source/WebCore/ChangeLog:3
> > +        RenderTextâs minimum preferred width is incorrect automatic hyphenation is used
> 
> The apostrophe seems to have had some issues.

The issue you’re referring to is bug 75394.

Thanks for the review!
Comment 4 mitz 2012-06-23 14:24:02 PDT
Fixed in <http://trac.webkit.org/r121102>.