| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index 9952068a8c8bf9357de4cf4d7137aa2641acfc6f..70c57cee1f3863be35905e4298707a4424481ab1 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -664,7 +664,8 @@ public:
|
|
|
| bool breakWords() const
|
| {
|
| - return wordBreak() == BreakWordBreak || overflowWrap() == BreakOverflowWrap;
|
| + return (wordBreak() == BreakWordBreak || overflowWrap() == BreakOverflowWrap)
|
| + && whiteSpace() != PRE && whiteSpace() != NOWRAP;
|
| }
|
|
|
| EFillBox backgroundClip() const { return static_cast<EFillBox>(m_background->background().clip()); }
|
|
|