| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2002 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2003, 2006, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License. | 9 * version 2 of the License. |
| 10 * | 10 * |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 int minMaxDiff = m_layoutStruct[i].computedLogicalWidth - m_layoutSt
ruct[i].effectiveMinLogicalWidth; | 690 int minMaxDiff = m_layoutStruct[i].computedLogicalWidth - m_layoutSt
ruct[i].effectiveMinLogicalWidth; |
| 691 int reduce = available * minMaxDiff / logicalWidthBeyondMin; | 691 int reduce = available * minMaxDiff / logicalWidthBeyondMin; |
| 692 m_layoutStruct[i].computedLogicalWidth += reduce; | 692 m_layoutStruct[i].computedLogicalWidth += reduce; |
| 693 available -= reduce; | 693 available -= reduce; |
| 694 logicalWidthBeyondMin -= minMaxDiff; | 694 logicalWidthBeyondMin -= minMaxDiff; |
| 695 if (available >= 0) | 695 if (available >= 0) |
| 696 break; | 696 break; |
| 697 } | 697 } |
| 698 } | 698 } |
| 699 } | 699 } |
| 700 } | 700 } // namespace blink |
| OLD | NEW |