Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1267)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp

Issue 2869043002: Store border-*-color on SurroundData in ComputedStyle not BorderColorAndStyle (Closed)
Patch Set: BorderColorVisuallyEquals calls BorderColorEquals Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
index b8c5b92157a3238e3777371fc5eb110e224fe7d3..fa7d7eece20025fcab387da35ab4199baaf35d50 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
@@ -18,6 +18,7 @@ void LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange(
if (!table.ShouldCollapseBorders())
return;
if (old_style.Border() != table_part.StyleRef().Border() ||
+ !old_style.BorderColorEquals(table_part.StyleRef()) ||
!old_style.RadiiEqual(table_part.StyleRef()) ||
!old_style.BorderSizeEquals(table_part.StyleRef()) ||
(diff.TextDecorationOrColorChanged() &&
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/style/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698