Chromium Code Reviews| Index: sky/engine/core/rendering/LayoutState.cpp |
| diff --git a/sky/engine/core/rendering/LayoutState.cpp b/sky/engine/core/rendering/LayoutState.cpp |
| index aa7da4522c64ba082f935ee72f46054f6a2127f6..44bdc049804c3073ba41d2864d899dd7558e276d 100644 |
| --- a/sky/engine/core/rendering/LayoutState.cpp |
| +++ b/sky/engine/core/rendering/LayoutState.cpp |
| @@ -49,14 +49,6 @@ LayoutState::LayoutState(RenderBox& renderer, const LayoutSize& offset, bool con |
| { |
| renderer.view()->pushLayoutState(*this); |
| m_layoutOffset = m_next->m_layoutOffset + offset; |
| - |
| - if (renderer.isOutOfFlowPositioned()) { |
| - if (RenderObject* container = renderer.container()) { |
| - if (container->style()->hasInFlowPosition() && container->isRenderInline()) |
| - m_layoutOffset += toRenderInline(container)->offsetForInFlowPositionedInline(renderer); |
|
esprehn
2015/02/20 05:55:53
Isn't this position: absolute inside an inline?
ojan
2015/02/20 05:57:21
offsetForInFlowPositionedInline doesn't do anythin
|
| - } |
| - } |
| - |
| // FIXME: <http://bugs.webkit.org/show_bug.cgi?id=13443> Apply control clip if present. |
| } |