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 1e6afe9da4816c0be507d72ed71436d7b5fc9b6c..f75285a29a5f187c5e1f8efa20a50377e6b2723c 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -842,8 +842,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation( |
return true; |
if (isDisplayTableType(display())) { |
- if (m_inheritedData.m_borderCollapse != |
- other.m_inheritedData.m_borderCollapse || |
+ if (borderCollapse() != other.borderCollapse() || |
emptyCells() != other.emptyCells() || |
captionSide() != other.captionSide() || |
m_nonInheritedData.m_tableLayout != |
@@ -852,7 +851,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation( |
// In the collapsing border model, 'hidden' suppresses other borders, while |
// 'none' does not, so these style differences can be width differences. |
- if (m_inheritedData.m_borderCollapse && |
+ if ((borderCollapse() == EBorderCollapse::Collapse) && |
alancutter (OOO until 2018)
2016/12/06 03:50:30
Pleased to see this change.
|
((borderTopStyle() == BorderStyleHidden && |
other.borderTopStyle() == BorderStyleNone) || |
(borderTopStyle() == BorderStyleNone && |