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.
All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc.
All rights reserved. |
8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/layout/LayoutAnalyzer.h" | 34 #include "core/layout/LayoutAnalyzer.h" |
35 #include "core/layout/LayoutTableCaption.h" | 35 #include "core/layout/LayoutTableCaption.h" |
36 #include "core/layout/LayoutTableCell.h" | 36 #include "core/layout/LayoutTableCell.h" |
37 #include "core/layout/LayoutTableCol.h" | 37 #include "core/layout/LayoutTableCol.h" |
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/layout/style/StyleInheritedData.h" | 44 #include "core/style/StyleInheritedData.h" |
45 #include "core/paint/BoxPainter.h" | 45 #include "core/paint/BoxPainter.h" |
46 #include "core/paint/DeprecatedPaintLayer.h" | 46 #include "core/paint/DeprecatedPaintLayer.h" |
47 #include "core/paint/TablePainter.h" | 47 #include "core/paint/TablePainter.h" |
48 | 48 |
49 namespace blink { | 49 namespace blink { |
50 | 50 |
51 using namespace HTMLNames; | 51 using namespace HTMLNames; |
52 | 52 |
53 LayoutTable::LayoutTable(Element* element) | 53 LayoutTable::LayoutTable(Element* element) |
54 : LayoutBlock(element) | 54 : LayoutBlock(element) |
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1360 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel
l* cell) const | 1360 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel
l* cell) const |
1361 { | 1361 { |
1362 ASSERT(cell->isFirstOrLastCellInRow()); | 1362 ASSERT(cell->isFirstOrLastCellInRow()); |
1363 if (hasSameDirectionAs(cell->row())) | 1363 if (hasSameDirectionAs(cell->row())) |
1364 return style()->borderEnd(); | 1364 return style()->borderEnd(); |
1365 | 1365 |
1366 return style()->borderStart(); | 1366 return style()->borderStart(); |
1367 } | 1367 } |
1368 | 1368 |
1369 } | 1369 } |
OLD | NEW |