Changeset 80982 in webkit
- Timestamp:
- Mar 13, 2011 5:54:59 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r80981 r80982 1 2011-03-13 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Mark Rowe. 4 5 REGRESSION (r80438): fast/text/hyphenate-character failing in pixel mode 6 https://bugs.webkit.org/show_bug.cgi?id=56280 7 8 * rendering/RenderBlockLineLayout.cpp: 9 (WebCore::tryHyphenating): Avoid subtracting 1 from an unsigned 0. 10 1 11 2011-03-13 Sam Weinig <sam@webkit.org> 2 12 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r80682 r80982 1456 1456 // into hyphenate-limit-before) unless lastSpace is 0. This is wrong in the rare case of hyphenating 1457 1457 // the first word in a text node which has leading whitespace. 1458 if ( prefixLength - (lastSpace ? 1 : 0) < static_cast<unsigned>(minimumPrefixLength))1458 if (!prefixLength || prefixLength - (lastSpace ? 1 : 0) < static_cast<unsigned>(minimumPrefixLength)) 1459 1459 return; 1460 1460
Note: See TracChangeset
for help on using the changeset viewer.