Changeset 21365 in webkit
- Timestamp:
- May 10, 2007 5:06:44 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r21363 r21365 1 2007-05-10 David Hyatt <hyatt@apple.com> 2 3 Fix for: 4 5 <rdar://problem/5146757> REGRESSION: div that wrapped to screen width in 6 tiger no longer wraps 7 8 http://bugs.webkit.org/show_bug.cgi?id=13654 9 10 Reviewed by mitz 11 12 fast/text/whitespace/normal-after-nowrap-breaking.html 13 14 * rendering/RenderBlock.cpp: 15 (WebCore::RenderBlock::calcInlinePrefWidths): 16 1 17 2007-05-10 David Hyatt <hyatt@apple.com> 2 18 -
trunk/WebCore/rendering/RenderBlock.cpp
r21363 r21365 3633 3633 childMin, childMax, stripFrontSpaces); 3634 3634 3635 // This text object is insignificant and will not be rendered. Just 3636 // continue. 3637 if (!hasBreak && childMax == 0) continue; 3635 // This text object will not be rendered, but it may still provide a breaking opportunity. 3636 if (!hasBreak && childMax == 0) { 3637 if (autoWrap && (beginWS || endWS)) { 3638 m_minPrefWidth = max(inlineMin, m_minPrefWidth); 3639 inlineMin = 0; 3640 } 3641 continue; 3642 } 3638 3643 3639 3644 if (stripFrontSpaces)
Note: See TracChangeset
for help on using the changeset viewer.