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 zApple Inc
. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 |
| 8 * Apple Inc. |
8 * All rights reserved. | 9 * All rights reserved. |
9 * | 10 * |
10 * This library is free software; you can redistribute it and/or | 11 * This library is free software; you can redistribute it and/or |
11 * modify it under the terms of the GNU Library General Public | 12 * modify it under the terms of the GNU Library General Public |
12 * License as published by the Free Software Foundation; either | 13 * License as published by the Free Software Foundation; either |
13 * version 2 of the License, or (at your option) any later version. | 14 * version 2 of the License, or (at your option) any later version. |
14 * | 15 * |
15 * This library is distributed in the hope that it will be useful, | 16 * This library is distributed in the hope that it will be useful, |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 // the visual overflow should be determined in the coordinate system of | 302 // the visual overflow should be determined in the coordinate system of |
302 // the row, that's why we shift it below. | 303 // the row, that's why we shift it below. |
303 LayoutUnit cellOffsetLogicalTopDifference = | 304 LayoutUnit cellOffsetLogicalTopDifference = |
304 cell->location().y() - location().y(); | 305 cell->location().y() - location().y(); |
305 cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference); | 306 cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference); |
306 | 307 |
307 addContentsVisualOverflow(cellVisualOverflowRect); | 308 addContentsVisualOverflow(cellVisualOverflowRect); |
308 } | 309 } |
309 | 310 |
310 } // namespace blink | 311 } // namespace blink |
OLD | NEW |