| Index: third_party/WebKit/Source/core/layout/LayoutListItem.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutListItem.cpp b/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
|
| index 6c989742027127c6dc1661a27923892756f73f93..4dbf2a750c28fff5f640778b6f83743269503373 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
|
| @@ -257,6 +257,11 @@ static LayoutObject* getParentOfFirstLineBox(LayoutBlockFlow* curr,
|
| if (currChild == marker)
|
| continue;
|
|
|
| + // Shouldn't add marker into Overflow box, instead, add marker
|
| + // into listitem
|
| + if (currChild->hasOverflowClip())
|
| + break;
|
| +
|
| if (currChild->isInline() &&
|
| (!currChild->isLayoutInline() ||
|
| curr->generatesLineBoxesForInlineChild(currChild)))
|
|
|