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, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. 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 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 } | 1542 } |
1543 } | 1543 } |
1544 } | 1544 } |
1545 | 1545 |
1546 if (!isDocumentElement() && !backgroundStolenForBeingBody()) { | 1546 if (!isDocumentElement() && !backgroundStolenForBeingBody()) { |
1547 for (const FillLayer* layer = &styleRef().backgroundLayers(); layer; lay
er = layer->next()) { | 1547 for (const FillLayer* layer = &styleRef().backgroundLayers(); layer; lay
er = layer->next()) { |
1548 if (layer->image() && image == layer->image()->data()) { | 1548 if (layer->image() && image == layer->image()->data()) { |
1549 invalidateBackgroundObscurationStatus(); | 1549 invalidateBackgroundObscurationStatus(); |
1550 bool maybeAnimated = layer->image()->cachedImage() && layer->ima
ge()->cachedImage()->getImage() && layer->image()->cachedImage()->getImage()->ma
ybeAnimated(); | 1550 bool maybeAnimated = layer->image()->cachedImage() && layer->ima
ge()->cachedImage()->getImage() && layer->image()->cachedImage()->getImage()->ma
ybeAnimated(); |
1551 if (maybeAnimated) | 1551 if (maybeAnimated) |
1552 setMayNeedPaintInvalidationAnimatgedBackgroundImage(); | 1552 setMayNeedPaintInvalidationAnimatedBackgroundImage(); |
1553 else | 1553 else |
1554 setShouldDoFullPaintInvalidation(); | 1554 setShouldDoFullPaintInvalidation(); |
1555 break; | 1555 break; |
1556 } | 1556 } |
1557 } | 1557 } |
1558 } | 1558 } |
1559 | 1559 |
1560 ShapeValue* shapeOutsideValue = style()->shapeOutside(); | 1560 ShapeValue* shapeOutsideValue = style()->shapeOutside(); |
1561 if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue &
& shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { | 1561 if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue &
& shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { |
1562 ShapeOutsideInfo& info = ShapeOutsideInfo::ensureInfo(*this); | 1562 ShapeOutsideInfo& info = ShapeOutsideInfo::ensureInfo(*this); |
(...skipping 3280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4843 m_rareData->m_snapAreas->remove(&snapArea); | 4843 m_rareData->m_snapAreas->remove(&snapArea); |
4844 } | 4844 } |
4845 } | 4845 } |
4846 | 4846 |
4847 SnapAreaSet* LayoutBox::snapAreas() const | 4847 SnapAreaSet* LayoutBox::snapAreas() const |
4848 { | 4848 { |
4849 return m_rareData ? m_rareData->m_snapAreas.get() : nullptr; | 4849 return m_rareData ? m_rareData->m_snapAreas.get() : nullptr; |
4850 } | 4850 } |
4851 | 4851 |
4852 } // namespace blink | 4852 } // namespace blink |
OLD | NEW |