| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index aea39026af72e1ba14185572ef0a6f0226c0b780..1e6afe9da4816c0be507d72ed71436d7b5fc9b6c 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -239,6 +239,8 @@ void ComputedStyle::propagateIndependentInheritedProperties(
|
| setPointerEvents(parentStyle.pointerEvents());
|
| if (m_nonInheritedData.m_isVisibilityInherited)
|
| setVisibility(parentStyle.visibility());
|
| + if (m_nonInheritedData.m_isWhiteSpaceInherited)
|
| + setWhiteSpace(parentStyle.whiteSpace());
|
| }
|
|
|
| StyleSelfAlignmentData resolvedSelfAlignment(
|
| @@ -426,6 +428,8 @@ void ComputedStyle::copyNonInheritedFromCached(const ComputedStyle& other) {
|
| other.m_nonInheritedData.m_isPointerEventsInherited;
|
| m_nonInheritedData.m_isVisibilityInherited =
|
| other.m_nonInheritedData.m_isVisibilityInherited;
|
| + m_nonInheritedData.m_isWhiteSpaceInherited =
|
| + other.m_nonInheritedData.m_isWhiteSpaceInherited;
|
|
|
| if (m_svgStyle != other.m_svgStyle)
|
| m_svgStyle.access()->copyNonInheritedFromCached(other.m_svgStyle.get());
|
|
|