| Index: third_party/WebKit/Source/core/dom/Text.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Text.cpp b/third_party/WebKit/Source/core/dom/Text.cpp
|
| index 89d8f9b7e117e18cf10bf07a05200ee52fc68cca..7e5f6d230874ef0cc85fc35180835d43d8e67084 100644
|
| --- a/third_party/WebKit/Source/core/dom/Text.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Text.cpp
|
| @@ -294,6 +294,8 @@ bool Text::textLayoutObjectIsNeeded(const ComputedStyle& style, const LayoutObje
|
| const LayoutObject* prev = LayoutTreeBuilderTraversal::previousSiblingLayoutObject(*this);
|
| if (prev && prev->isBR()) // <span><br/> <br/></span>
|
| return false;
|
| + if (prev && prev->isText() && prev->node()->isTextNode() && toText(prev->node())->containsOnlyWhitespace())
|
| + return false;
|
|
|
| if (parent.isLayoutInline()) {
|
| // <span><div/> <div/></span>
|
|
|