| 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 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2008 else | 2008 else |
| 2009 return container->mapToVisualRectInAncestorSpace(ancestor, rect, visualR
ectFlags); | 2009 return container->mapToVisualRectInAncestorSpace(ancestor, rect, visualR
ectFlags); |
| 2010 } | 2010 } |
| 2011 | 2011 |
| 2012 void LayoutBox::inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect& p
aintInvalidationRect) const | 2012 void LayoutBox::inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect& p
aintInvalidationRect) const |
| 2013 { | 2013 { |
| 2014 if (!RuntimeEnabledFeatures::cssBoxReflectFilterEnabled() && hasReflection()
) | 2014 if (!RuntimeEnabledFeatures::cssBoxReflectFilterEnabled() && hasReflection()
) |
| 2015 paintInvalidationRect.unite(reflectedRect(paintInvalidationRect)); | 2015 paintInvalidationRect.unite(reflectedRect(paintInvalidationRect)); |
| 2016 | 2016 |
| 2017 if (layer() && layer()->hasFilterInducingProperty()) | 2017 if (layer() && layer()->hasFilterInducingProperty()) |
| 2018 paintInvalidationRect.expand(layer()->filterOutsets()); | 2018 paintInvalidationRect = layer()->mapLayoutRectForFilter(paintInvalidatio
nRect); |
| 2019 } | 2019 } |
| 2020 | 2020 |
| 2021 void LayoutBox::invalidatePaintForOverhangingFloats(bool) | 2021 void LayoutBox::invalidatePaintForOverhangingFloats(bool) |
| 2022 { | 2022 { |
| 2023 } | 2023 } |
| 2024 | 2024 |
| 2025 void LayoutBox::updateLogicalWidth() | 2025 void LayoutBox::updateLogicalWidth() |
| 2026 { | 2026 { |
| 2027 LogicalExtentComputedValues computedValues; | 2027 LogicalExtentComputedValues computedValues; |
| 2028 computeLogicalWidth(computedValues); | 2028 computeLogicalWidth(computedValues); |
| (...skipping 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4703 | 4703 |
| 4704 void LayoutBox::clearPercentHeightDescendants() | 4704 void LayoutBox::clearPercentHeightDescendants() |
| 4705 { | 4705 { |
| 4706 for (LayoutObject* curr = slowFirstChild(); curr; curr = curr->nextInPreOrde
r(this)) { | 4706 for (LayoutObject* curr = slowFirstChild(); curr; curr = curr->nextInPreOrde
r(this)) { |
| 4707 if (curr->isBox()) | 4707 if (curr->isBox()) |
| 4708 toLayoutBox(curr)->removeFromPercentHeightContainer(); | 4708 toLayoutBox(curr)->removeFromPercentHeightContainer(); |
| 4709 } | 4709 } |
| 4710 } | 4710 } |
| 4711 | 4711 |
| 4712 } // namespace blink | 4712 } // namespace blink |
| OLD | NEW |