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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/layout/LayoutTable.h" | 27 #include "core/layout/LayoutTable.h" |
28 | 28 |
29 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
31 #include "core/frame/FrameView.h" | 31 #include "core/frame/FrameView.h" |
32 #include "core/html/HTMLTableElement.h" | 32 #include "core/html/HTMLTableElement.h" |
33 #include "core/layout/HitTestResult.h" | 33 #include "core/layout/HitTestResult.h" |
| 34 #include "core/layout/Layer.h" |
34 #include "core/layout/LayoutTableAlgorithmAuto.h" | 35 #include "core/layout/LayoutTableAlgorithmAuto.h" |
35 #include "core/layout/LayoutTableAlgorithmFixed.h" | 36 #include "core/layout/LayoutTableAlgorithmFixed.h" |
36 #include "core/layout/LayoutTableCaption.h" | 37 #include "core/layout/LayoutTableCaption.h" |
37 #include "core/layout/LayoutTableCell.h" | 38 #include "core/layout/LayoutTableCell.h" |
38 #include "core/layout/LayoutTableCol.h" | 39 #include "core/layout/LayoutTableCol.h" |
39 #include "core/layout/LayoutTableSection.h" | 40 #include "core/layout/LayoutTableSection.h" |
40 #include "core/paint/BoxPainter.h" | 41 #include "core/paint/BoxPainter.h" |
41 #include "core/paint/TablePainter.h" | 42 #include "core/paint/TablePainter.h" |
42 #include "core/rendering/RenderLayer.h" | |
43 #include "core/rendering/RenderView.h" | 43 #include "core/rendering/RenderView.h" |
44 #include "core/rendering/SubtreeLayoutScope.h" | 44 #include "core/rendering/SubtreeLayoutScope.h" |
45 #include "core/rendering/TextAutosizer.h" | 45 #include "core/rendering/TextAutosizer.h" |
46 #include "core/rendering/style/StyleInheritedData.h" | 46 #include "core/rendering/style/StyleInheritedData.h" |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 using namespace HTMLNames; | 50 using namespace HTMLNames; |
51 | 51 |
52 LayoutTable::LayoutTable(Element* element) | 52 LayoutTable::LayoutTable(Element* element) |
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel
l* cell) const | 1354 const BorderValue& LayoutTable::tableEndBorderAdjoiningCell(const LayoutTableCel
l* cell) const |
1355 { | 1355 { |
1356 ASSERT(cell->isFirstOrLastCellInRow()); | 1356 ASSERT(cell->isFirstOrLastCellInRow()); |
1357 if (hasSameDirectionAs(cell->row())) | 1357 if (hasSameDirectionAs(cell->row())) |
1358 return style()->borderEnd(); | 1358 return style()->borderEnd(); |
1359 | 1359 |
1360 return style()->borderStart(); | 1360 return style()->borderStart(); |
1361 } | 1361 } |
1362 | 1362 |
1363 } | 1363 } |
OLD | NEW |