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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 updateIntrinsicContentLogicalHeight(contentLogicalHeight()); | 576 updateIntrinsicContentLogicalHeight(contentLogicalHeight()); |
577 | 577 |
578 if (view()->layoutState()->pageLogicalHeight()) | 578 if (view()->layoutState()->pageLogicalHeight()) |
579 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, log
icalTop())); | 579 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, log
icalTop())); |
580 | 580 |
581 bool didFullRepaint = repainter.repaintAfterLayout(); | 581 bool didFullRepaint = repainter.repaintAfterLayout(); |
582 // Repaint with our new bounds if they are different from our old bounds. | 582 // Repaint with our new bounds if they are different from our old bounds. |
583 if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled() | 583 if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled() |
584 && !didFullRepaint && sectionMoved) { | 584 && !didFullRepaint && sectionMoved) { |
585 if (style()->isHorizontalWritingMode()) | 585 if (style()->isHorizontalWritingMode()) |
586 repaintRectangle(LayoutRect(visualOverflowRect().x(), movedSectionLo
gicalTop, visualOverflowRect().width(), visualOverflowRect().maxY() - movedSecti
onLogicalTop)); | 586 invalidatePaintRectangle(LayoutRect(visualOverflowRect().x(), movedS
ectionLogicalTop, visualOverflowRect().width(), visualOverflowRect().maxY() - mo
vedSectionLogicalTop)); |
587 else | 587 else |
588 repaintRectangle(LayoutRect(movedSectionLogicalTop, visualOverflowRe
ct().y(), visualOverflowRect().maxX() - movedSectionLogicalTop, visualOverflowRe
ct().height())); | 588 invalidatePaintRectangle(LayoutRect(movedSectionLogicalTop, visualOv
erflowRect().y(), visualOverflowRect().maxX() - movedSectionLogicalTop, visualOv
erflowRect().height())); |
589 } | 589 } |
590 | 590 |
591 m_columnLogicalWidthChanged = false; | 591 m_columnLogicalWidthChanged = false; |
592 clearNeedsLayout(); | 592 clearNeedsLayout(); |
593 } | 593 } |
594 | 594 |
595 // Collect all the unique border values that we want to paint in a sorted list. | 595 // Collect all the unique border values that we want to paint in a sorted list. |
596 void RenderTable::recalcCollapsedBorders() | 596 void RenderTable::recalcCollapsedBorders() |
597 { | 597 { |
598 if (m_collapsedBordersValid) | 598 if (m_collapsedBordersValid) |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
l* cell) const | 1453 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
l* cell) const |
1454 { | 1454 { |
1455 ASSERT(cell->isFirstOrLastCellInRow()); | 1455 ASSERT(cell->isFirstOrLastCellInRow()); |
1456 if (hasSameDirectionAs(cell->row())) | 1456 if (hasSameDirectionAs(cell->row())) |
1457 return style()->borderEnd(); | 1457 return style()->borderEnd(); |
1458 | 1458 |
1459 return style()->borderStart(); | 1459 return style()->borderStart(); |
1460 } | 1460 } |
1461 | 1461 |
1462 } | 1462 } |
OLD | NEW |