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, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 | 1337 |
1338 return style()->isHorizontalWritingMode() ? logicalOffset : logicalOffset.tr
ansposedSize(); | 1338 return style()->isHorizontalWritingMode() ? logicalOffset : logicalOffset.tr
ansposedSize(); |
1339 } | 1339 } |
1340 | 1340 |
1341 void RenderInline::imageChanged(WrappedImagePtr, const IntRect*) | 1341 void RenderInline::imageChanged(WrappedImagePtr, const IntRect*) |
1342 { | 1342 { |
1343 if (!parent()) | 1343 if (!parent()) |
1344 return; | 1344 return; |
1345 | 1345 |
1346 // FIXME: We can do better. | 1346 // FIXME: We can do better. |
1347 repaint(); | 1347 paintInvalidationForWholeRenderer(); |
1348 } | 1348 } |
1349 | 1349 |
1350 void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&
additionalOffset, const RenderLayerModelObject* paintContainer) | 1350 void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&
additionalOffset, const RenderLayerModelObject* paintContainer) |
1351 { | 1351 { |
1352 AbsoluteRectsGeneratorContext context(rects, additionalOffset); | 1352 AbsoluteRectsGeneratorContext context(rects, additionalOffset); |
1353 generateLineBoxRects(context); | 1353 generateLineBoxRects(context); |
1354 | 1354 |
1355 addChildFocusRingRects(rects, additionalOffset, paintContainer); | 1355 addChildFocusRingRects(rects, additionalOffset, paintContainer); |
1356 | 1356 |
1357 if (continuation()) { | 1357 if (continuation()) { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1566 container = this; | 1566 container = this; |
1567 | 1567 |
1568 FloatPoint absPos = container->localToAbsolute(); | 1568 FloatPoint absPos = container->localToAbsolute(); |
1569 region.bounds.setX(absPos.x() + region.bounds.x()); | 1569 region.bounds.setX(absPos.x() + region.bounds.x()); |
1570 region.bounds.setY(absPos.y() + region.bounds.y()); | 1570 region.bounds.setY(absPos.y() + region.bounds.y()); |
1571 | 1571 |
1572 regions.append(region); | 1572 regions.append(region); |
1573 } | 1573 } |
1574 | 1574 |
1575 } // namespace WebCore | 1575 } // namespace WebCore |
OLD | NEW |