| Index: sky/engine/core/rendering/InlineFlowBox.cpp
|
| diff --git a/sky/engine/core/rendering/InlineFlowBox.cpp b/sky/engine/core/rendering/InlineFlowBox.cpp
|
| index df17b5fdb954c3482a5fed2abbe89e9614114bfa..a64a13a3696ef7eb04859c8794ae032a1084dcdc 100644
|
| --- a/sky/engine/core/rendering/InlineFlowBox.cpp
|
| +++ b/sky/engine/core/rendering/InlineFlowBox.cpp
|
| @@ -844,7 +844,7 @@ inline void InlineFlowBox::addReplacedChildOverflow(const InlineBox* inlineBox,
|
| // transforms or relative positioning (since those objects always have self-painting layers), but it does need to be adjusted
|
| // for writing-mode differences.
|
| if (!box.hasSelfPaintingLayer()) {
|
| - LayoutRect childLogicalVisualOverflow = box.logicalVisualOverflowRectForPropagation(renderer().style());
|
| + LayoutRect childLogicalVisualOverflow = box.visualOverflowRect();
|
| childLogicalVisualOverflow.move(inlineBox->logicalLeft(), inlineBox->logicalTop());
|
| logicalVisualOverflow.unite(childLogicalVisualOverflow);
|
| }
|
| @@ -852,7 +852,7 @@ inline void InlineFlowBox::addReplacedChildOverflow(const InlineBox* inlineBox,
|
| // Layout overflow internal to the child box only propagates if the child box doesn't have overflow clip set.
|
| // Otherwise the child border box propagates as layout overflow. This rectangle must include transforms and relative positioning
|
| // and be adjusted for writing-mode differences.
|
| - LayoutRect childLogicalLayoutOverflow = box.logicalLayoutOverflowRectForPropagation(renderer().style());
|
| + LayoutRect childLogicalLayoutOverflow = box.layoutOverflowRectForPropagation();
|
| childLogicalLayoutOverflow.move(inlineBox->logicalLeft(), inlineBox->logicalTop());
|
| logicalLayoutOverflow.unite(childLogicalLayoutOverflow);
|
| }
|
|
|