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

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

Issue 2880573002: Store border-*-style on SurroundData in ComputedStyle (Closed)
Patch Set: Merge branch 'enumClass' into borderStyle 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 fa7d7eece20025fcab387da35ab4199baaf35d50..a7d051ab98ba7edfad2e57a389d8eac04d168d6a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
@@ -17,10 +17,7 @@ void LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange(
const ComputedStyle& old_style) {
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()) ||
+ if (!old_style.BorderEquals(table_part.StyleRef()) ||
(diff.TextDecorationOrColorChanged() &&
table_part.StyleRef().HasBorderColorReferencingCurrentColor()))
table.InvalidateCollapsedBorders();
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/style/BorderData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698