| Index: sky/engine/core/rendering/RenderBox.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBox.cpp b/sky/engine/core/rendering/RenderBox.cpp
|
| index 4c803e874a12a4771ff22c519479e2703c9ad406..0b0186dd190b048d7305638d0adebd7bb06cd5ab 100644
|
| --- a/sky/engine/core/rendering/RenderBox.cpp
|
| +++ b/sky/engine/core/rendering/RenderBox.cpp
|
| @@ -800,7 +800,7 @@ void RenderBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const
|
|
|
| bool RenderBox::pushContentsClip(PaintInfo& paintInfo, const LayoutPoint& accumulatedOffset, ContentsClipBehavior contentsClipBehavior)
|
| {
|
| - if (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseSelfOutline || paintInfo.phase == PaintPhaseMask)
|
| + if (paintInfo.phase == PaintPhaseSelfOutline || paintInfo.phase == PaintPhaseMask)
|
| return false;
|
|
|
| bool isControlClip = hasControlClip();
|
| @@ -832,11 +832,6 @@ bool RenderBox::pushContentsClip(PaintInfo& paintInfo, const LayoutPoint& accumu
|
|
|
| if (paintInfo.phase == PaintPhaseOutline)
|
| paintInfo.phase = PaintPhaseChildOutlines;
|
| - else if (paintInfo.phase == PaintPhaseChildBlockBackground) {
|
| - paintInfo.phase = PaintPhaseBlockBackground;
|
| - paintObject(paintInfo, accumulatedOffset);
|
| - paintInfo.phase = PaintPhaseChildBlockBackgrounds;
|
| - }
|
| paintInfo.context->save();
|
| if (hasBorderRadius)
|
| paintInfo.context->clipRoundedRect(clipRoundedRect);
|
| @@ -853,8 +848,7 @@ void RenderBox::popContentsClip(PaintInfo& paintInfo, PaintPhase originalPhase,
|
| paintInfo.phase = PaintPhaseSelfOutline;
|
| paintObject(paintInfo, accumulatedOffset);
|
| paintInfo.phase = originalPhase;
|
| - } else if (originalPhase == PaintPhaseChildBlockBackground)
|
| - paintInfo.phase = originalPhase;
|
| + }
|
| }
|
|
|
| LayoutRect RenderBox::overflowClipRect(const LayoutPoint& location)
|
|
|