Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
| index 83321cd962f46af6b19bf1dffeb2538bb6e33b00..5d966a49145afaf9f920234fae4f2d77cfba834c 100644 |
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
| @@ -1888,6 +1888,11 @@ void FrameView::layoutOrthogonalWritingModeRoots() |
| { |
| for (auto& root : m_orthogonalWritingModeRootList.ordered()) { |
| ASSERT(root->isBox() && toLayoutBox(*root).isOrthogonalWritingModeRoot()); |
| + if (toLayoutBox(*root).hasContainingBlockOverrideSize() || toLayoutBox(*root).hasOverrideSize()) { |
|
cbiesinger
2016/09/26 11:48:32
Hmm, so I understand why you're doing this but I t
jfernandez
2016/09/26 13:38:02
For the case I'm trying to solve is not enough to
|
| + toLayoutBox(*root).clearOverrideSize(); |
| + toLayoutBox(*root).clearContainingBlockOverrideSize(); |
| + root->setNeedsLayout(LayoutInvalidationReason::SizeChanged); |
| + } |
| if (!root->needsLayout() |
| || root->isOutOfFlowPositioned() |
| || root->isColumnSpanAll() |