| Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| index 136325539960a1e5e254fe60f70d106668abe02e..42a76bc6d31bfe668fed3c7ff1a3ba071bd30424 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -1102,7 +1102,8 @@ bool LayoutInline::mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* an
|
| if (containerBox && !containerBox->mapScrollingContentsRectToBoxSpace(rect, container == ancestor ? ApplyNonScrollOverflowClip : ApplyOverflowClip, visualRectFlags))
|
| return false;
|
|
|
| - if (containerBox)
|
| + // TODO(wkorman): Generalize Ruby specialization and/or document more clearly.
|
| + if (containerBox && !isRuby())
|
| containerBox->flipForWritingMode(rect);
|
| return container->mapToVisualRectInAncestorSpace(ancestor, rect, visualRectFlags);
|
| }
|
|
|