| 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 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2187 else | 2187 else |
| 2188 return container->mapToVisualRectInAncestorSpace(ancestor, rect, visualR
ectFlags); | 2188 return container->mapToVisualRectInAncestorSpace(ancestor, rect, visualR
ectFlags); |
| 2189 } | 2189 } |
| 2190 | 2190 |
| 2191 void LayoutBox::inflateVisualRectForReflectionAndFilter(LayoutRect& paintInvalid
ationRect) const | 2191 void LayoutBox::inflateVisualRectForReflectionAndFilter(LayoutRect& paintInvalid
ationRect) const |
| 2192 { | 2192 { |
| 2193 if (!RuntimeEnabledFeatures::cssBoxReflectFilterEnabled() && hasReflection()
) | 2193 if (!RuntimeEnabledFeatures::cssBoxReflectFilterEnabled() && hasReflection()
) |
| 2194 paintInvalidationRect.unite(reflectedRect(paintInvalidationRect)); | 2194 paintInvalidationRect.unite(reflectedRect(paintInvalidationRect)); |
| 2195 | 2195 |
| 2196 if (layer() && layer()->hasFilterInducingProperty()) | 2196 if (layer() && layer()->hasFilterInducingProperty()) |
| 2197 paintInvalidationRect = layer()->mapLayoutRectForFilter(paintInvalidatio
nRect); | 2197 paintInvalidationRect = layer()->mapLayoutRectToAffectedFilterRegion(pai
ntInvalidationRect); |
| 2198 } | 2198 } |
| 2199 | 2199 |
| 2200 void LayoutBox::updateLogicalWidth() | 2200 void LayoutBox::updateLogicalWidth() |
| 2201 { | 2201 { |
| 2202 LogicalExtentComputedValues computedValues; | 2202 LogicalExtentComputedValues computedValues; |
| 2203 computeLogicalWidth(computedValues); | 2203 computeLogicalWidth(computedValues); |
| 2204 | 2204 |
| 2205 setLogicalWidth(computedValues.m_extent); | 2205 setLogicalWidth(computedValues.m_extent); |
| 2206 setLogicalLeft(computedValues.m_position); | 2206 setLogicalLeft(computedValues.m_position); |
| 2207 setMarginStart(computedValues.m_margins.m_start); | 2207 setMarginStart(computedValues.m_margins.m_start); |
| (...skipping 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4825 m_rareData->m_snapAreas->remove(&snapArea); | 4825 m_rareData->m_snapAreas->remove(&snapArea); |
| 4826 } | 4826 } |
| 4827 } | 4827 } |
| 4828 | 4828 |
| 4829 SnapAreaSet* LayoutBox::snapAreas() const | 4829 SnapAreaSet* LayoutBox::snapAreas() const |
| 4830 { | 4830 { |
| 4831 return m_rareData ? m_rareData->m_snapAreas.get() : nullptr; | 4831 return m_rareData ? m_rareData->m_snapAreas.get() : nullptr; |
| 4832 } | 4832 } |
| 4833 | 4833 |
| 4834 } // namespace blink | 4834 } // namespace blink |
| OLD | NEW |