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 Apple Inc. All rights
reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 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 11 matching lines...) Expand all Loading... |
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/rendering/RenderTableSection.h" | 27 #include "core/rendering/RenderTableSection.h" |
28 | 28 |
29 // FIXME: Remove 'RuntimeEnabledFeatures.h' when http://crbug.com/78724 is close
d. | 29 // FIXME: Remove 'RuntimeEnabledFeatures.h' when http://crbug.com/78724 is close
d. |
30 #include "RuntimeEnabledFeatures.h" | 30 #include "RuntimeEnabledFeatures.h" |
31 #include <limits> | 31 #include <limits> |
| 32 #include "core/rendering/GraphicsContextAnnotator.h" |
32 #include "core/rendering/HitTestResult.h" | 33 #include "core/rendering/HitTestResult.h" |
33 #include "core/rendering/PaintInfo.h" | 34 #include "core/rendering/PaintInfo.h" |
34 #include "core/rendering/RenderTableCell.h" | 35 #include "core/rendering/RenderTableCell.h" |
35 #include "core/rendering/RenderTableCol.h" | 36 #include "core/rendering/RenderTableCol.h" |
36 #include "core/rendering/RenderTableRow.h" | 37 #include "core/rendering/RenderTableRow.h" |
37 #include "core/rendering/RenderView.h" | 38 #include "core/rendering/RenderView.h" |
38 #include "core/rendering/SubtreeLayoutScope.h" | 39 #include "core/rendering/SubtreeLayoutScope.h" |
39 #include "wtf/HashSet.h" | 40 #include "wtf/HashSet.h" |
40 #include "wtf/Vector.h" | 41 #include "wtf/Vector.h" |
41 | 42 |
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1808 if (!style()->isLeftToRightDirection()) | 1809 if (!style()->isLeftToRightDirection()) |
1809 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - ta
ble()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] +
horizontalBorderSpacing); | 1810 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - ta
ble()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] +
horizontalBorderSpacing); |
1810 else | 1811 else |
1811 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizont
alBorderSpacing); | 1812 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizont
alBorderSpacing); |
1812 | 1813 |
1813 cell->setLogicalLocation(cellLocation); | 1814 cell->setLogicalLocation(cellLocation); |
1814 view()->addLayoutDelta(oldCellLocation - cell->location()); | 1815 view()->addLayoutDelta(oldCellLocation - cell->location()); |
1815 } | 1816 } |
1816 | 1817 |
1817 } // namespace WebCore | 1818 } // namespace WebCore |
OLD | NEW |