| Index: Source/core/dom/Position.cpp
|
| diff --git a/Source/core/dom/Position.cpp b/Source/core/dom/Position.cpp
|
| index af703ae694be5b6f2208382110aad2f55f785292..e9472e5bcfc14093a2685e2c0d2a5ded3e67665d 100644
|
| --- a/Source/core/dom/Position.cpp
|
| +++ b/Source/core/dom/Position.cpp
|
| @@ -897,7 +897,7 @@ bool PositionAlgorithm<Strategy>::hasRenderedNonAnonymousDescendantsWithHeight(L
|
| if (o->nonPseudoNode()) {
|
| if ((o->isText() && boundingBoxLogicalHeight(o, toLayoutText(o)->linesBoundingBox()))
|
| || (o->isBox() && toLayoutBox(o)->pixelSnappedLogicalHeight())
|
| - || (o->isLayoutInline() && isEmptyInline(o) && boundingBoxLogicalHeight(o, toLayoutInline(o)->linesBoundingBox())))
|
| + || (o->isLayoutInline() && isEmptyInline(LineLayoutItem(o)) && boundingBoxLogicalHeight(o, toLayoutInline(o)->linesBoundingBox())))
|
| return true;
|
| }
|
| }
|
|
|