Changeset 18857 in webkit
- Timestamp:
- Jan 15, 2007 2:10:49 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r18856 r18857 1 2007-01-15 David Hyatt <hyatt@apple.com> 2 3 Fix for 12275, negative margins confuse page breaks. 4 5 Reviewed by Eric 6 7 * rendering/RenderBlock.cpp: 8 (WebCore::RenderBlock::paintChildren): 9 1 10 2007-01-15 Eric Seidel <eric@eseidel.com> 2 11 -
trunk/WebCore/rendering/RenderBlock.cpp
r18840 r18857 1431 1431 inRootBlockContext() && (ty + child->yPos() + child->height()) > paintInfo.rect.y() && 1432 1432 (ty + child->yPos() + child->height()) < paintInfo.rect.bottom()) { 1433 view()->setBestTruncatedAt(ty + child->yPos() + child->height() + child->collapsedMarginBottom(), this, true);1433 view()->setBestTruncatedAt(ty + child->yPos() + child->height() + max(0, child->collapsedMarginBottom()), this, true); 1434 1434 return; 1435 1435 }
Note: See TracChangeset
for help on using the changeset viewer.