| 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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008 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. All rights reserved. | 5 * Copyright (C) 2009 Google, Inc. All rights reserved. |
| 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 const ComputedStyle* oldStyle) { | 108 const ComputedStyle* oldStyle) { |
| 109 LayoutSVGModelObject::styleDidChange(diff, oldStyle); | 109 LayoutSVGModelObject::styleDidChange(diff, oldStyle); |
| 110 | 110 |
| 111 bool hadIsolation = | 111 bool hadIsolation = |
| 112 oldStyle && !isSVGHiddenContainer() && | 112 oldStyle && !isSVGHiddenContainer() && |
| 113 SVGLayoutSupport::willIsolateBlendingDescendantsForStyle(*oldStyle); | 113 SVGLayoutSupport::willIsolateBlendingDescendantsForStyle(*oldStyle); |
| 114 bool isolationChanged = | 114 bool isolationChanged = |
| 115 hadIsolation == | 115 hadIsolation == |
| 116 !SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this); | 116 !SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this); |
| 117 | 117 |
| 118 if (isolationChanged) |
| 119 setNeedsPaintPropertyUpdate(); |
| 120 |
| 118 if (!parent() || !isolationChanged) | 121 if (!parent() || !isolationChanged) |
| 119 return; | 122 return; |
| 120 | 123 |
| 121 if (hasNonIsolatedBlendingDescendants()) | 124 if (hasNonIsolatedBlendingDescendants()) |
| 122 parent()->descendantIsolationRequirementsChanged( | 125 parent()->descendantIsolationRequirementsChanged( |
| 123 SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this) | 126 SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this) |
| 124 ? DescendantIsolationNeedsUpdate | 127 ? DescendantIsolationNeedsUpdate |
| 125 : DescendantIsolationRequired); | 128 : DescendantIsolationRequired); |
| 126 } | 129 } |
| 127 | 130 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // under the pointer (i.e., there is no target element), the event is not | 216 // under the pointer (i.e., there is no target element), the event is not |
| 214 // dispatched." | 217 // dispatched." |
| 215 return false; | 218 return false; |
| 216 } | 219 } |
| 217 | 220 |
| 218 SVGTransformChange LayoutSVGContainer::calculateLocalTransform() { | 221 SVGTransformChange LayoutSVGContainer::calculateLocalTransform() { |
| 219 return SVGTransformChange::None; | 222 return SVGTransformChange::None; |
| 220 } | 223 } |
| 221 | 224 |
| 222 } // namespace blink | 225 } // namespace blink |
| OLD | NEW |