OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 RenderBlock::removePercentHeightDescendant(const_cast<RenderSVGRoot*>(this))
; | 274 RenderBlock::removePercentHeightDescendant(const_cast<RenderSVGRoot*>(this))
; |
275 | 275 |
276 SVGResourcesCache::clientDestroyed(this); | 276 SVGResourcesCache::clientDestroyed(this); |
277 RenderReplaced::willBeDestroyed(); | 277 RenderReplaced::willBeDestroyed(); |
278 } | 278 } |
279 | 279 |
280 void RenderSVGRoot::styleDidChange(StyleDifference diff, const RenderStyle* oldS
tyle) | 280 void RenderSVGRoot::styleDidChange(StyleDifference diff, const RenderStyle* oldS
tyle) |
281 { | 281 { |
282 if (diff.needsFullLayout()) | 282 if (diff.needsFullLayout()) |
283 setNeedsBoundariesUpdate(); | 283 setNeedsBoundariesUpdate(); |
284 if (diff.needsRepaint()) { | 284 if (diff.needsPaintInvalidation()) { |
285 // Box decorations may have appeared/disappeared - recompute status. | 285 // Box decorations may have appeared/disappeared - recompute status. |
286 m_hasBoxDecorationBackground = calculateHasBoxDecorations(); | 286 m_hasBoxDecorationBackground = calculateHasBoxDecorations(); |
287 } | 287 } |
288 | 288 |
289 RenderReplaced::styleDidChange(diff, oldStyle); | 289 RenderReplaced::styleDidChange(diff, oldStyle); |
290 SVGResourcesCache::clientStyleChanged(this, diff, style()); | 290 SVGResourcesCache::clientStyleChanged(this, diff, style()); |
291 } | 291 } |
292 | 292 |
293 bool RenderSVGRoot::isChildAllowed(RenderObject* child, RenderStyle*) const | 293 bool RenderSVGRoot::isChildAllowed(RenderObject* child, RenderStyle*) const |
294 { | 294 { |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 updateHitTestResult(result, pointInBorderBox); | 454 updateHitTestResult(result, pointInBorderBox); |
455 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) | 455 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) |
456 return true; | 456 return true; |
457 } | 457 } |
458 } | 458 } |
459 | 459 |
460 return false; | 460 return false; |
461 } | 461 } |
462 | 462 |
463 } | 463 } |
OLD | NEW |