| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
| 4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
| 5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2013 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2013 Apple Inc. |
| 8 * All rights reserved. | 8 * All rights reserved. |
| 9 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 9 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 10 * | 10 * |
| (...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 distributeExtraLogicalHeightToAutoRows(remainingExtraLogicalHeight, | 1107 distributeExtraLogicalHeightToAutoRows(remainingExtraLogicalHeight, |
| 1108 autoRowsCount); | 1108 autoRowsCount); |
| 1109 distributeRemainingExtraLogicalHeight(remainingExtraLogicalHeight); | 1109 distributeRemainingExtraLogicalHeight(remainingExtraLogicalHeight); |
| 1110 return extraLogicalHeight - remainingExtraLogicalHeight; | 1110 return extraLogicalHeight - remainingExtraLogicalHeight; |
| 1111 } | 1111 } |
| 1112 | 1112 |
| 1113 static bool shouldFlexCellChild(LayoutObject* cellDescendant) { | 1113 static bool shouldFlexCellChild(LayoutObject* cellDescendant) { |
| 1114 return cellDescendant->isAtomicInlineLevel() || | 1114 return cellDescendant->isAtomicInlineLevel() || |
| 1115 (cellDescendant->isBox() && | 1115 (cellDescendant->isBox() && |
| 1116 toLayoutBox(cellDescendant)->style()->overflowY() != | 1116 toLayoutBox(cellDescendant)->style()->overflowY() != |
| 1117 OverflowVisible && | 1117 EOverflow::Visible && |
| 1118 toLayoutBox(cellDescendant)->style()->overflowY() != OverflowHidden); | 1118 toLayoutBox(cellDescendant)->style()->overflowY() != |
| 1119 EOverflow::Hidden); |
| 1119 } | 1120 } |
| 1120 | 1121 |
| 1121 void LayoutTableSection::layoutRows() { | 1122 void LayoutTableSection::layoutRows() { |
| 1122 #if DCHECK_IS_ON() | 1123 #if DCHECK_IS_ON() |
| 1123 SetLayoutNeededForbiddenScope layoutForbiddenScope(*this); | 1124 SetLayoutNeededForbiddenScope layoutForbiddenScope(*this); |
| 1124 #endif | 1125 #endif |
| 1125 | 1126 |
| 1126 ASSERT(!needsLayout()); | 1127 ASSERT(!needsLayout()); |
| 1127 | 1128 |
| 1128 LayoutAnalyzer::Scope analyzer(*this); | 1129 LayoutAnalyzer::Scope analyzer(*this); |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2081 // the header in all columns. | 2082 // the header in all columns. |
| 2082 // Note that this is in flow thread coordinates, not visual coordinates. The | 2083 // Note that this is in flow thread coordinates, not visual coordinates. The |
| 2083 // enclosing LayoutFlowThread will convert to visual coordinates. | 2084 // enclosing LayoutFlowThread will convert to visual coordinates. |
| 2084 if (table()->header() == this && isRepeatingHeaderGroup()) | 2085 if (table()->header() == this && isRepeatingHeaderGroup()) |
| 2085 rect.setHeight(table()->logicalHeight()); | 2086 rect.setHeight(table()->logicalHeight()); |
| 2086 return LayoutTableBoxComponent::mapToVisualRectInAncestorSpace(ancestor, rect, | 2087 return LayoutTableBoxComponent::mapToVisualRectInAncestorSpace(ancestor, rect, |
| 2087 flags); | 2088 flags); |
| 2088 } | 2089 } |
| 2089 | 2090 |
| 2090 } // namespace blink | 2091 } // namespace blink |
| OLD | NEW |