 Chromium Code Reviews
 Chromium Code Reviews Issue 372023002:
  Abs-positioned objects should move with inline rel-positioned containers when the latter change wid…  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 372023002:
  Abs-positioned objects should move with inline rel-positioned containers when the latter change wid…  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| Index: Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| diff --git a/Source/core/rendering/line/BreakingContextInlineHeaders.h b/Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| index 4459e50bcaefe4185dfc46ebbe58ba35f8cd096a..1719282e7614edcd03a4d50e25b10072258d9691 100644 | 
| --- a/Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| +++ b/Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| @@ -210,6 +210,10 @@ inline void setStaticPositions(RenderBlockFlow* block, RenderBox* child) | 
| // inline so that we can obtain the value later. | 
| toRenderInline(containerBlock)->layer()->setStaticInlinePosition(block->startAlignedOffsetForLine(blockHeight, false)); | 
| toRenderInline(containerBlock)->layer()->setStaticBlockPosition(blockHeight); | 
| + | 
| + // If |child| is a leading or trailing positioned object this is its only opportunity to ensure it moves with an inline | 
| + // container changing width. | 
| + child->moveWithEdgeOfInlineContainerIfNecessary(child->isHorizontalWritingMode()); | 
| 
esprehn
2014/07/28 19:35:15
Why not isHorizontal() here?
 | 
| } | 
| block->updateStaticInlinePositionForChild(child, blockHeight); | 
| child->layer()->setStaticBlockPosition(blockHeight); |