| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 setNeedsBoundariesUpdate(); | 233 setNeedsBoundariesUpdate(); |
| 234 if (diff.needsPaintInvalidation()) { | 234 if (diff.needsPaintInvalidation()) { |
| 235 // Box decorations may have appeared/disappeared - recompute status. | 235 // Box decorations may have appeared/disappeared - recompute status. |
| 236 m_hasBoxDecorationBackground = calculateHasBoxDecorations(); | 236 m_hasBoxDecorationBackground = calculateHasBoxDecorations(); |
| 237 } | 237 } |
| 238 | 238 |
| 239 RenderReplaced::styleDidChange(diff, oldStyle); | 239 RenderReplaced::styleDidChange(diff, oldStyle); |
| 240 SVGResourcesCache::clientStyleChanged(this, diff, style()); | 240 SVGResourcesCache::clientStyleChanged(this, diff, style()); |
| 241 } | 241 } |
| 242 | 242 |
| 243 bool RenderSVGRoot::isChildAllowed(RenderObject* child, RenderStyle*) const | 243 bool RenderSVGRoot::isChildAllowed(RenderObject* child, const RenderStyle*) cons
t |
| 244 { | 244 { |
| 245 return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText())
; | 245 return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText())
; |
| 246 } | 246 } |
| 247 | 247 |
| 248 void RenderSVGRoot::addChild(RenderObject* child, RenderObject* beforeChild) | 248 void RenderSVGRoot::addChild(RenderObject* child, RenderObject* beforeChild) |
| 249 { | 249 { |
| 250 RenderReplaced::addChild(child, beforeChild); | 250 RenderReplaced::addChild(child, beforeChild); |
| 251 SVGResourcesCache::clientWasAddedToTree(child, child->style()); | 251 SVGResourcesCache::clientWasAddedToTree(child, child->style()); |
| 252 | 252 |
| 253 bool shouldIsolateDescendants = (child->isBlendingAllowed() && child->style(
)->hasBlendMode()) || child->hasNonIsolatedBlendingDescendants(); | 253 bool shouldIsolateDescendants = (child->isBlendingAllowed() && child->style(
)->hasBlendMode()) || child->hasNonIsolatedBlendingDescendants(); |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 updateHitTestResult(result, pointInBorderBox); | 431 updateHitTestResult(result, pointInBorderBox); |
| 432 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) | 432 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) |
| 433 return true; | 433 return true; |
| 434 } | 434 } |
| 435 } | 435 } |
| 436 | 436 |
| 437 return false; | 437 return false; |
| 438 } | 438 } |
| 439 | 439 |
| 440 } | 440 } |
| OLD | NEW |