| Index: Source/core/rendering/RenderMultiColumnFlowThread.cpp
|
| diff --git a/Source/core/rendering/RenderMultiColumnFlowThread.cpp b/Source/core/rendering/RenderMultiColumnFlowThread.cpp
|
| index f5c8ab08213f7691ebc6c824d189992227c17135..e93c68aedd5e3c88be5e37d863e34ea204b25732 100644
|
| --- a/Source/core/rendering/RenderMultiColumnFlowThread.cpp
|
| +++ b/Source/core/rendering/RenderMultiColumnFlowThread.cpp
|
| @@ -123,6 +123,20 @@ void RenderMultiColumnFlowThread::evacuateAndDestroy()
|
| destroy();
|
| }
|
|
|
| +LayoutSize RenderMultiColumnFlowThread::columnOffset(const LayoutPoint& point) const
|
| +{
|
| + if (!hasValidRegionInfo())
|
| + return LayoutSize(0, 0);
|
| +
|
| + LayoutPoint flowThreadPoint(point);
|
| + flipForWritingMode(flowThreadPoint);
|
| + LayoutUnit blockOffset = isHorizontalWritingMode() ? flowThreadPoint.y() : flowThreadPoint.x();
|
| + RenderRegion* renderRegion = regionAtBlockOffset(blockOffset);
|
| + if (!renderRegion)
|
| + return LayoutSize(0, 0);
|
| + return toRenderMultiColumnSet(renderRegion)->flowThreadTranslationAtOffset(blockOffset);
|
| +}
|
| +
|
| void RenderMultiColumnFlowThread::layoutColumns(bool relayoutChildren, SubtreeLayoutScope& layoutScope)
|
| {
|
| // Update the dimensions of our regions before we lay out the flow thread.
|
|
|