Changeset 167678 in webkit


Ignore:
Timestamp:
Apr 22, 2014 1:31:47 PM (10 years ago)
Author:
hyatt@apple.com
Message:

[New Multicolumn] widows/orphans cause assertion failures.
https://bugs.webkit.org/show_bug.cgi?id=131233

Reviewed by Dean Jackson.

  • rendering/RenderMultiColumnSet.cpp:

(WebCore::RenderMultiColumnSet::recordSpaceShortage):
Fix an obvious bug where the space shortage is recorded twice (and the
if statement that kept it from being negative is accidentally ignored).

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167677 r167678  
     12014-04-22  David Hyatt  <hyatt@apple.com>
     2
     3        [New Multicolumn] widows/orphans cause assertion failures.
     4        https://bugs.webkit.org/show_bug.cgi?id=131233
     5
     6        Reviewed by Dean Jackson.
     7
     8        * rendering/RenderMultiColumnSet.cpp:
     9        (WebCore::RenderMultiColumnSet::recordSpaceShortage):
     10        Fix an obvious bug where the space shortage is recorded twice (and the
     11        if statement that kept it from being negative is accidentally ignored).
     12
    1132014-04-22  David Hyatt  <hyatt@apple.com>
    214
  • trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp

    r167677 r167678  
    302302    if (spaceShortage > 0)
    303303        m_minSpaceShortage = spaceShortage;
    304 
    305     m_minSpaceShortage = spaceShortage;
    306304}
    307305
Note: See TracChangeset for help on using the changeset viewer.