| 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 16 matching lines...) Expand all Loading... |
| 27 #include "core/rendering/RenderTable.h" | 27 #include "core/rendering/RenderTable.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/paint/BoxPainter.h" | 33 #include "core/paint/BoxPainter.h" |
| 34 #include "core/paint/TablePainter.h" | 34 #include "core/paint/TablePainter.h" |
| 35 #include "core/rendering/AutoTableLayout.h" | 35 #include "core/rendering/AutoTableLayout.h" |
| 36 #include "core/rendering/FixedTableLayout.h" | 36 #include "core/rendering/FixedTableLayout.h" |
| 37 #include "core/rendering/GraphicsContextAnnotator.h" | |
| 38 #include "core/rendering/HitTestResult.h" | 37 #include "core/rendering/HitTestResult.h" |
| 39 #include "core/rendering/RenderLayer.h" | 38 #include "core/rendering/RenderLayer.h" |
| 40 #include "core/rendering/RenderTableCaption.h" | 39 #include "core/rendering/RenderTableCaption.h" |
| 41 #include "core/rendering/RenderTableCell.h" | 40 #include "core/rendering/RenderTableCell.h" |
| 42 #include "core/rendering/RenderTableCol.h" | 41 #include "core/rendering/RenderTableCol.h" |
| 43 #include "core/rendering/RenderTableSection.h" | 42 #include "core/rendering/RenderTableSection.h" |
| 44 #include "core/rendering/RenderView.h" | 43 #include "core/rendering/RenderView.h" |
| 45 #include "core/rendering/SubtreeLayoutScope.h" | 44 #include "core/rendering/SubtreeLayoutScope.h" |
| 46 #include "core/rendering/TextAutosizer.h" | 45 #include "core/rendering/TextAutosizer.h" |
| 47 #include "core/rendering/style/StyleInheritedData.h" | 46 #include "core/rendering/style/StyleInheritedData.h" |
| 48 #include "platform/graphics/GraphicsContextStateSaver.h" | |
| 49 | 47 |
| 50 namespace blink { | 48 namespace blink { |
| 51 | 49 |
| 52 using namespace HTMLNames; | 50 using namespace HTMLNames; |
| 53 | 51 |
| 54 RenderTable::RenderTable(Element* element) | 52 RenderTable::RenderTable(Element* element) |
| 55 : RenderBlock(element) | 53 : RenderBlock(element) |
| 56 , m_head(0) | 54 , m_head(0) |
| 57 , m_foot(0) | 55 , m_foot(0) |
| 58 , m_firstBody(0) | 56 , m_firstBody(0) |
| (...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1344 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
l* cell) const | 1342 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
l* cell) const |
| 1345 { | 1343 { |
| 1346 ASSERT(cell->isFirstOrLastCellInRow()); | 1344 ASSERT(cell->isFirstOrLastCellInRow()); |
| 1347 if (hasSameDirectionAs(cell->row())) | 1345 if (hasSameDirectionAs(cell->row())) |
| 1348 return style()->borderEnd(); | 1346 return style()->borderEnd(); |
| 1349 | 1347 |
| 1350 return style()->borderStart(); | 1348 return style()->borderStart(); |
| 1351 } | 1349 } |
| 1352 | 1350 |
| 1353 } | 1351 } |
| OLD | NEW |