| 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 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1096 distributeExtraLogicalHeightToAutoRows(remainingExtraLogicalHeight, | 1096 distributeExtraLogicalHeightToAutoRows(remainingExtraLogicalHeight, |
| 1097 autoRowsCount); | 1097 autoRowsCount); |
| 1098 distributeRemainingExtraLogicalHeight(remainingExtraLogicalHeight); | 1098 distributeRemainingExtraLogicalHeight(remainingExtraLogicalHeight); |
| 1099 return extraLogicalHeight - remainingExtraLogicalHeight; | 1099 return extraLogicalHeight - remainingExtraLogicalHeight; |
| 1100 } | 1100 } |
| 1101 | 1101 |
| 1102 static bool shouldFlexCellChild(const LayoutTableCell& cell, | 1102 static bool shouldFlexCellChild(const LayoutTableCell& cell, |
| 1103 LayoutObject* cellDescendant) { | 1103 LayoutObject* cellDescendant) { |
| 1104 if (!cell.style()->logicalHeight().isSpecified()) | 1104 if (!cell.style()->logicalHeight().isSpecified()) |
| 1105 return false; | 1105 return false; |
| 1106 if (cellDescendant->style()->overflowY() == EOverflow::Visible || | 1106 if (cellDescendant->style()->overflowY() == EOverflow::kVisible || |
| 1107 cellDescendant->style()->overflowY() == EOverflow::Hidden) | 1107 cellDescendant->style()->overflowY() == EOverflow::kHidden) |
| 1108 return true; | 1108 return true; |
| 1109 return cellDescendant->isBox() && | 1109 return cellDescendant->isBox() && |
| 1110 toLayoutBox(cellDescendant)->shouldBeConsideredAsReplaced(); | 1110 toLayoutBox(cellDescendant)->shouldBeConsideredAsReplaced(); |
| 1111 } | 1111 } |
| 1112 | 1112 |
| 1113 void LayoutTableSection::layoutRows() { | 1113 void LayoutTableSection::layoutRows() { |
| 1114 #if DCHECK_IS_ON() | 1114 #if DCHECK_IS_ON() |
| 1115 SetLayoutNeededForbiddenScope layoutForbiddenScope(*this); | 1115 SetLayoutNeededForbiddenScope layoutForbiddenScope(*this); |
| 1116 #endif | 1116 #endif |
| 1117 | 1117 |
| (...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2071 // the header in all columns. | 2071 // the header in all columns. |
| 2072 // Note that this is in flow thread coordinates, not visual coordinates. The | 2072 // Note that this is in flow thread coordinates, not visual coordinates. The |
| 2073 // enclosing LayoutFlowThread will convert to visual coordinates. | 2073 // enclosing LayoutFlowThread will convert to visual coordinates. |
| 2074 if (table()->header() == this && isRepeatingHeaderGroup()) | 2074 if (table()->header() == this && isRepeatingHeaderGroup()) |
| 2075 rect.setHeight(table()->logicalHeight()); | 2075 rect.setHeight(table()->logicalHeight()); |
| 2076 return LayoutTableBoxComponent::mapToVisualRectInAncestorSpace(ancestor, rect, | 2076 return LayoutTableBoxComponent::mapToVisualRectInAncestorSpace(ancestor, rect, |
| 2077 flags); | 2077 flags); |
| 2078 } | 2078 } |
| 2079 | 2079 |
| 2080 } // namespace blink | 2080 } // namespace blink |
| OLD | NEW |