| 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
| 6 * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) | 6 * Copyright (C) 2010 Daniel Bates (dbates@intudata.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 return; | 1129 return; |
| 1130 | 1130 |
| 1131 if (style()->visibility() != VISIBLE) | 1131 if (style()->visibility() != VISIBLE) |
| 1132 return; | 1132 return; |
| 1133 | 1133 |
| 1134 LayoutPoint boxOrigin(paintOffset + location()); | 1134 LayoutPoint boxOrigin(paintOffset + location()); |
| 1135 LayoutRect overflowRect(visualOverflowRect()); | 1135 LayoutRect overflowRect(visualOverflowRect()); |
| 1136 overflowRect.moveBy(boxOrigin); | 1136 overflowRect.moveBy(boxOrigin); |
| 1137 overflowRect.inflate(maximalOutlineSize(paintInfo.phase)); | 1137 overflowRect.inflate(maximalOutlineSize(paintInfo.phase)); |
| 1138 | 1138 |
| 1139 if (!paintInfo.rect().intersects(pixelSnappedIntRect(overflowRect))) | 1139 if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) |
| 1140 return; | 1140 return; |
| 1141 | 1141 |
| 1142 LayoutRect box(boxOrigin, size()); | 1142 LayoutRect box(boxOrigin, size()); |
| 1143 | 1143 |
| 1144 IntRect marker = getRelativeMarkerRect(); | 1144 IntRect marker = getRelativeMarkerRect(); |
| 1145 marker.moveBy(roundedIntPoint(boxOrigin)); | 1145 marker.moveBy(roundedIntPoint(boxOrigin)); |
| 1146 | 1146 |
| 1147 GraphicsContext* context = paintInfo.context; | 1147 GraphicsContext* context = paintInfo.context; |
| 1148 | 1148 |
| 1149 if (isImage()) { | 1149 if (isImage()) { |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1840 | 1840 |
| 1841 if (clipToVisibleContent) | 1841 if (clipToVisibleContent) |
| 1842 computeRectForRepaint(repaintContainer, rect); | 1842 computeRectForRepaint(repaintContainer, rect); |
| 1843 else | 1843 else |
| 1844 rect = localToContainerQuad(FloatRect(rect), repaintContainer).enclosing
BoundingBox(); | 1844 rect = localToContainerQuad(FloatRect(rect), repaintContainer).enclosing
BoundingBox(); |
| 1845 | 1845 |
| 1846 return rect; | 1846 return rect; |
| 1847 } | 1847 } |
| 1848 | 1848 |
| 1849 } // namespace WebCore | 1849 } // namespace WebCore |
| OLD | NEW |