| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. 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 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 ASSERT(m_rareData); | 1964 ASSERT(m_rareData); |
| 1965 m_rareData->m_inlineBoxWrapper = 0; | 1965 m_rareData->m_inlineBoxWrapper = 0; |
| 1966 } | 1966 } |
| 1967 } | 1967 } |
| 1968 | 1968 |
| 1969 LayoutRect RenderBox::clippedOverflowRectForRepaint(const RenderLayerModelObject
* repaintContainer) const | 1969 LayoutRect RenderBox::clippedOverflowRectForRepaint(const RenderLayerModelObject
* repaintContainer) const |
| 1970 { | 1970 { |
| 1971 if (style()->visibility() != VISIBLE && !enclosingLayer()->hasVisibleContent
()) | 1971 if (style()->visibility() != VISIBLE && !enclosingLayer()->hasVisibleContent
()) |
| 1972 return LayoutRect(); | 1972 return LayoutRect(); |
| 1973 | 1973 |
| 1974 LayoutRect r = visualOverflowRect(); | 1974 LayoutRect r = overflowRectForRepaint(); |
| 1975 | 1975 |
| 1976 RenderView* v = view(); | 1976 RenderView* v = view(); |
| 1977 if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled() && v) { | 1977 if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled() && v) { |
| 1978 // FIXME: layoutDelta needs to be applied in parts before/after transfor
ms and | 1978 // FIXME: layoutDelta needs to be applied in parts before/after transfor
ms and |
| 1979 // repaint containers. https://bugs.webkit.org/show_bug.cgi?id=23308 | 1979 // repaint containers. https://bugs.webkit.org/show_bug.cgi?id=23308 |
| 1980 r.move(v->layoutDelta()); | 1980 r.move(v->layoutDelta()); |
| 1981 } | 1981 } |
| 1982 | 1982 |
| 1983 computeRectForRepaint(repaintContainer, r); | 1983 computeRectForRepaint(repaintContainer, r); |
| 1984 return r; | 1984 return r; |
| (...skipping 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4662 return 0; | 4662 return 0; |
| 4663 | 4663 |
| 4664 if (!layoutState && !flowThreadContainingBlock()) | 4664 if (!layoutState && !flowThreadContainingBlock()) |
| 4665 return 0; | 4665 return 0; |
| 4666 | 4666 |
| 4667 RenderBlock* containerBlock = containingBlock(); | 4667 RenderBlock* containerBlock = containingBlock(); |
| 4668 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); | 4668 return containerBlock->offsetFromLogicalTopOfFirstPage() + logicalTop(); |
| 4669 } | 4669 } |
| 4670 | 4670 |
| 4671 } // namespace WebCore | 4671 } // namespace WebCore |
| OLD | NEW |