| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 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, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 } | 244 } |
| 245 LayoutUnit logicalBottom() const { return logicalTop() + logicalHeight(); } | 245 LayoutUnit logicalBottom() const { return logicalTop() + logicalHeight(); } |
| 246 LayoutUnit logicalWidth() const { | 246 LayoutUnit logicalWidth() const { |
| 247 return style()->isHorizontalWritingMode() ? m_frameRect.width() | 247 return style()->isHorizontalWritingMode() ? m_frameRect.width() |
| 248 : m_frameRect.height(); | 248 : m_frameRect.height(); |
| 249 } | 249 } |
| 250 LayoutUnit logicalHeight() const { | 250 LayoutUnit logicalHeight() const { |
| 251 return style()->isHorizontalWritingMode() ? m_frameRect.height() | 251 return style()->isHorizontalWritingMode() ? m_frameRect.height() |
| 252 : m_frameRect.width(); | 252 : m_frameRect.width(); |
| 253 } | 253 } |
| 254 LayoutUnit logicalHeightIncludingOverflow() const; | 254 |
| 255 // Logical height of the object, including content overflowing the |
| 256 // border-after edge. |
| 257 LayoutUnit logicalHeightWithVisibleOverflow() const; |
| 255 | 258 |
| 256 LayoutUnit constrainLogicalWidthByMinMax(LayoutUnit, | 259 LayoutUnit constrainLogicalWidthByMinMax(LayoutUnit, |
| 257 LayoutUnit, | 260 LayoutUnit, |
| 258 LayoutBlock*) const; | 261 LayoutBlock*) const; |
| 259 LayoutUnit constrainLogicalHeightByMinMax( | 262 LayoutUnit constrainLogicalHeightByMinMax( |
| 260 LayoutUnit logicalHeight, | 263 LayoutUnit logicalHeight, |
| 261 LayoutUnit intrinsicContentHeight) const; | 264 LayoutUnit intrinsicContentHeight) const; |
| 262 LayoutUnit constrainContentBoxLogicalHeightByMinMax( | 265 LayoutUnit constrainContentBoxLogicalHeightByMinMax( |
| 263 LayoutUnit logicalHeight, | 266 LayoutUnit logicalHeight, |
| 264 LayoutUnit intrinsicContentHeight) const; | 267 LayoutUnit intrinsicContentHeight) const; |
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 | 1622 |
| 1620 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1623 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
| 1621 return breakValue == BreakColumn || breakValue == BreakLeft || | 1624 return breakValue == BreakColumn || breakValue == BreakLeft || |
| 1622 breakValue == BreakPage || breakValue == BreakRecto || | 1625 breakValue == BreakPage || breakValue == BreakRecto || |
| 1623 breakValue == BreakRight || breakValue == BreakVerso; | 1626 breakValue == BreakRight || breakValue == BreakVerso; |
| 1624 } | 1627 } |
| 1625 | 1628 |
| 1626 } // namespace blink | 1629 } // namespace blink |
| 1627 | 1630 |
| 1628 #endif // LayoutBox_h | 1631 #endif // LayoutBox_h |
| OLD | NEW |