Changeset 156881 in webkit for trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
- Timestamp:
- Oct 4, 2013, 1:49:21 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r156876 r156881 1675 1675 } 1676 1676 1677 if (paginated && !style()->hasAutoWidows()) { 1677 // In case we already adjusted the line positions during this layout to avoid widows 1678 // then we need to ignore the possibility of having a new widows situation. 1679 // Otherwise, we risk leaving empty containers which is against the block fragmentation principles. 1680 // FIXME-BLOCKFLOW: Remove this type conversion once the owning function moves. 1681 if (paginated && !style()->hasAutoWidows() && !toRenderBlockFlow(this)->didBreakAtLineToAvoidWidow()) { 1678 1682 // Check the line boxes to make sure we didn't create unacceptable widows. 1679 1683 // However, we'll prioritize orphans - so nothing we do here should create … … 1732 1736 } 1733 1737 } 1738 1739 // FIXME-BLOCKFLOW: Remove this type conversion once the owning function moves. 1740 toRenderBlockFlow(this)->clearDidBreakAtLineToAvoidWidow(); 1734 1741 } 1735 1742
Note:
See TracChangeset
for help on using the changeset viewer.