| 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 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2010 Google Inc. All rights reserved. | 7 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 // FIXME: We should call a specialized version of this function. | 289 // FIXME: We should call a specialized version of this function. |
| 290 layer()->updateLayerPositionsAfterLayout(); | 290 layer()->updateLayerPositionsAfterLayout(); |
| 291 } | 291 } |
| 292 } | 292 } |
| 293 } else if (layer() && layer()->parent()) { | 293 } else if (layer() && layer()->parent()) { |
| 294 PaintLayer* parentLayer = layer()->parent(); | 294 PaintLayer* parentLayer = layer()->parent(); |
| 295 // Either a transform wasn't specified or the object doesn't support | 295 // Either a transform wasn't specified or the object doesn't support |
| 296 // transforms, so just null out the bit. | 296 // transforms, so just null out the bit. |
| 297 setHasTransformRelatedProperty(false); | 297 setHasTransformRelatedProperty(false); |
| 298 setHasReflection(false); | 298 setHasReflection(false); |
| 299 layer()->updateFilters(oldStyle, styleRef()); | |
| 300 // Calls destroyLayer() which clears m_layer. | 299 // Calls destroyLayer() which clears m_layer. |
| 301 layer()->removeOnlyThisLayerAfterStyleChange(); | 300 layer()->removeOnlyThisLayerAfterStyleChange(); |
| 302 if (wasFloatingBeforeStyleChanged && isFloating()) | 301 if (wasFloatingBeforeStyleChanged && isFloating()) |
| 303 setChildNeedsLayout(); | 302 setChildNeedsLayout(); |
| 304 if (hadTransform) | 303 if (hadTransform) |
| 305 setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation( | 304 setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation( |
| 306 LayoutInvalidationReason::StyleChange); | 305 LayoutInvalidationReason::StyleChange); |
| 307 if (!needsLayout()) { | 306 if (!needsLayout()) { |
| 308 // FIXME: We should call a specialized version of this function. | 307 // FIXME: We should call a specialized version of this function. |
| 309 parentLayer->updateLayerPositionsAfterLayout(); | 308 parentLayer->updateLayerPositionsAfterLayout(); |
| (...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1340 if (rootElementStyle->hasBackground()) | 1339 if (rootElementStyle->hasBackground()) |
| 1341 return false; | 1340 return false; |
| 1342 | 1341 |
| 1343 if (node() != document().firstBodyElement()) | 1342 if (node() != document().firstBodyElement()) |
| 1344 return false; | 1343 return false; |
| 1345 | 1344 |
| 1346 return true; | 1345 return true; |
| 1347 } | 1346 } |
| 1348 | 1347 |
| 1349 } // namespace blink | 1348 } // namespace blink |
| OLD | NEW |