OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. | 5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 LayoutUnit borderThickness = frameSet()->border(); | 463 LayoutUnit borderThickness = frameSet()->border(); |
464 layOutAxis(m_rows, frameSet()->rowLengths(), height() - (rows - 1) * borderT
hickness); | 464 layOutAxis(m_rows, frameSet()->rowLengths(), height() - (rows - 1) * borderT
hickness); |
465 layOutAxis(m_cols, frameSet()->colLengths(), width() - (cols - 1) * borderTh
ickness); | 465 layOutAxis(m_cols, frameSet()->colLengths(), width() - (cols - 1) * borderTh
ickness); |
466 | 466 |
467 positionFrames(); | 467 positionFrames(); |
468 | 468 |
469 RenderBox::layout(); | 469 RenderBox::layout(); |
470 | 470 |
471 computeEdgeInfo(); | 471 computeEdgeInfo(); |
472 | 472 |
473 updateLayerTransform(); | 473 updateLayerTransformAfterLayout(); |
474 | 474 |
475 if (doFullRepaint) { | 475 if (doFullRepaint) { |
476 invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldB
ounds), InvalidationSelfLayout); | 476 invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldB
ounds), InvalidationSelfLayout); |
477 LayoutRect newBounds = boundsRectForRepaint(repaintContainer); | 477 LayoutRect newBounds = boundsRectForRepaint(repaintContainer); |
478 if (newBounds != oldBounds) | 478 if (newBounds != oldBounds) |
479 invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(
newBounds), InvalidationSelfLayout); | 479 invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(
newBounds), InvalidationSelfLayout); |
480 } | 480 } |
481 | 481 |
482 clearNeedsLayout(); | 482 clearNeedsLayout(); |
483 } | 483 } |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 return SetCursor; | 661 return SetCursor; |
662 } | 662 } |
663 if (canResizeColumn(roundedPoint)) { | 663 if (canResizeColumn(roundedPoint)) { |
664 cursor = columnResizeCursor(); | 664 cursor = columnResizeCursor(); |
665 return SetCursor; | 665 return SetCursor; |
666 } | 666 } |
667 return RenderBox::getCursor(point, cursor); | 667 return RenderBox::getCursor(point, cursor); |
668 } | 668 } |
669 | 669 |
670 } // namespace WebCore | 670 } // namespace WebCore |
OLD | NEW |