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, 2007, 2008, 2009, 2010, 2013 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 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 27 matching lines...) Expand all Loading... |
38 #include "core/layout/LayoutTableSection.h" | 38 #include "core/layout/LayoutTableSection.h" |
39 #include "core/layout/LayoutView.h" | 39 #include "core/layout/LayoutView.h" |
40 #include "core/layout/SubtreeLayoutScope.h" | 40 #include "core/layout/SubtreeLayoutScope.h" |
41 #include "core/layout/TableLayoutAlgorithmAuto.h" | 41 #include "core/layout/TableLayoutAlgorithmAuto.h" |
42 #include "core/layout/TableLayoutAlgorithmFixed.h" | 42 #include "core/layout/TableLayoutAlgorithmFixed.h" |
43 #include "core/layout/TextAutosizer.h" | 43 #include "core/layout/TextAutosizer.h" |
44 #include "core/paint/BoxPainter.h" | 44 #include "core/paint/BoxPainter.h" |
45 #include "core/paint/PaintLayer.h" | 45 #include "core/paint/PaintLayer.h" |
46 #include "core/paint/TablePaintInvalidator.h" | 46 #include "core/paint/TablePaintInvalidator.h" |
47 #include "core/paint/TablePainter.h" | 47 #include "core/paint/TablePainter.h" |
48 #include "core/style/StyleInheritedData.h" | |
49 #include "platform/wtf/PtrUtil.h" | 48 #include "platform/wtf/PtrUtil.h" |
50 | 49 |
51 namespace blink { | 50 namespace blink { |
52 | 51 |
53 using namespace HTMLNames; | 52 using namespace HTMLNames; |
54 | 53 |
55 LayoutTable::LayoutTable(Element* element) | 54 LayoutTable::LayoutTable(Element* element) |
56 : LayoutBlock(element), | 55 : LayoutBlock(element), |
57 head_(nullptr), | 56 head_(nullptr), |
58 foot_(nullptr), | 57 foot_(nullptr), |
(...skipping 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1740 } | 1739 } |
1741 | 1740 |
1742 LayoutUnit LayoutTable::PaddingRight() const { | 1741 LayoutUnit LayoutTable::PaddingRight() const { |
1743 if (CollapseBorders()) | 1742 if (CollapseBorders()) |
1744 return LayoutUnit(); | 1743 return LayoutUnit(); |
1745 | 1744 |
1746 return LayoutBlock::PaddingRight(); | 1745 return LayoutBlock::PaddingRight(); |
1747 } | 1746 } |
1748 | 1747 |
1749 } // namespace blink | 1748 } // namespace blink |
OLD | NEW |