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 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 10 matching lines...) Expand all Loading... |
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "core/rendering/RenderTableRow.h" | 26 #include "core/rendering/RenderTableRow.h" |
27 | 27 |
28 #include "core/HTMLNames.h" | 28 #include "core/HTMLNames.h" |
29 #include "core/fetch/ImageResource.h" | 29 #include "core/fetch/ImageResource.h" |
30 #include "core/paint/TableRowPainter.h" | 30 #include "core/paint/TableRowPainter.h" |
31 #include "core/rendering/GraphicsContextAnnotator.h" | |
32 #include "core/rendering/HitTestResult.h" | 31 #include "core/rendering/HitTestResult.h" |
33 #include "core/rendering/PaintInfo.h" | 32 #include "core/rendering/PaintInfo.h" |
34 #include "core/rendering/RenderTableCell.h" | 33 #include "core/rendering/RenderTableCell.h" |
35 #include "core/rendering/RenderView.h" | 34 #include "core/rendering/RenderView.h" |
36 #include "core/rendering/SubtreeLayoutScope.h" | 35 #include "core/rendering/SubtreeLayoutScope.h" |
37 #include "core/rendering/style/StyleInheritedData.h" | 36 #include "core/rendering/style/StyleInheritedData.h" |
38 | 37 |
39 namespace blink { | 38 namespace blink { |
40 | 39 |
41 using namespace HTMLNames; | 40 using namespace HTMLNames; |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 // The cell and the row share the section's coordinate system. However | 257 // The cell and the row share the section's coordinate system. However |
259 // the visual overflow should be determined in the coordinate system of | 258 // the visual overflow should be determined in the coordinate system of |
260 // the row, that's why we shift it below. | 259 // the row, that's why we shift it below. |
261 LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location(
).y(); | 260 LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location(
).y(); |
262 cellVisualOverflowRect.move(0, cellOffsetLogicalTopDifference); | 261 cellVisualOverflowRect.move(0, cellOffsetLogicalTopDifference); |
263 | 262 |
264 addVisualOverflow(cellVisualOverflowRect); | 263 addVisualOverflow(cellVisualOverflowRect); |
265 } | 264 } |
266 | 265 |
267 } // namespace blink | 266 } // namespace blink |
OLD | NEW |