Summary: | RenderText’s minimum preferred width is incorrect when soft hyphens are used | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | eric, webkit.review.bot |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Attachments: |
Description
mitz
2012-06-22 11:40:53 PDT
Created attachment 149076 [details]
Include hyphen width in minimun preferred width, and ignore soft hyphens when 'hyphens' is 'none'
Created attachment 149079 [details]
Include hyphen width in minimun preferred width, and ignore soft hyphens when 'hyphens' is 'none'
Comment on attachment 149079 [details] Include hyphen width in minimun preferred width, and ignore soft hyphens when 'hyphens' is 'none' View in context: https://bugs.webkit.org/attachment.cgi?id=149079&action=review > Source/WebCore/rendering/RenderText.cpp:972 > + } else if (c == softHyphen && styleToUse->hyphens() != HyphensNone) { Maybe add RenderStyle::usesHyphens() to make this easier to read? Fixed in <http://trac.webkit.org/r121050>. |