| 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. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 8 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2394 toLayoutInline(container)->offsetForInFlowPositionedInline(*this)); | 2394 toLayoutInline(container)->offsetForInFlowPositionedInline(*this)); |
| 2395 } else if (styleToUse.hasInFlowPosition() && layer()) { | 2395 } else if (styleToUse.hasInFlowPosition() && layer()) { |
| 2396 // Apply the relative position offset when invalidating a rectangle. The | 2396 // Apply the relative position offset when invalidating a rectangle. The |
| 2397 // layer is translated, but the layout box isn't, so we need to do this to | 2397 // layer is translated, but the layout box isn't, so we need to do this to |
| 2398 // get the right dirty rect. Since this is called from | 2398 // get the right dirty rect. Since this is called from |
| 2399 // LayoutObject::setStyle, the relative position flag on the LayoutObject | 2399 // LayoutObject::setStyle, the relative position flag on the LayoutObject |
| 2400 // has been cleared, so use the one on the style(). | 2400 // has been cleared, so use the one on the style(). |
| 2401 containerOffset.move(layer()->offsetForInFlowPosition()); | 2401 containerOffset.move(layer()->offsetForInFlowPosition()); |
| 2402 } | 2402 } |
| 2403 | 2403 |
| 2404 bool preserve3D = container->style()->preserves3D() || style()->preserves3D(); | 2404 bool preserve3D = container->style()->preserves3D(); |
| 2405 | 2405 |
| 2406 TransformState::TransformAccumulation accumulation = | 2406 TransformState::TransformAccumulation accumulation = |
| 2407 preserve3D ? TransformState::AccumulateTransform | 2407 preserve3D ? TransformState::AccumulateTransform |
| 2408 : TransformState::FlattenTransform; | 2408 : TransformState::FlattenTransform; |
| 2409 | 2409 |
| 2410 if (skipInfo.filterSkipped()) { | 2410 if (skipInfo.filterSkipped()) { |
| 2411 inflateVisualRectForFilterUnderContainer(transformState, *container, | 2411 inflateVisualRectForFilterUnderContainer(transformState, *container, |
| 2412 ancestor); | 2412 ancestor); |
| 2413 } | 2413 } |
| 2414 | 2414 |
| (...skipping 3335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5750 | 5750 |
| 5751 void LayoutBox::MutableForPainting:: | 5751 void LayoutBox::MutableForPainting:: |
| 5752 savePreviousContentBoxSizeAndLayoutOverflowRect() { | 5752 savePreviousContentBoxSizeAndLayoutOverflowRect() { |
| 5753 auto& rareData = layoutBox().ensureRareData(); | 5753 auto& rareData = layoutBox().ensureRareData(); |
| 5754 rareData.m_hasPreviousContentBoxSizeAndLayoutOverflowRect = true; | 5754 rareData.m_hasPreviousContentBoxSizeAndLayoutOverflowRect = true; |
| 5755 rareData.m_previousContentBoxSize = layoutBox().contentBoxRect().size(); | 5755 rareData.m_previousContentBoxSize = layoutBox().contentBoxRect().size(); |
| 5756 rareData.m_previousLayoutOverflowRect = layoutBox().layoutOverflowRect(); | 5756 rareData.m_previousLayoutOverflowRect = layoutBox().layoutOverflowRect(); |
| 5757 } | 5757 } |
| 5758 | 5758 |
| 5759 } // namespace blink | 5759 } // namespace blink |
| OLD | NEW |