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

Unified Diff: third_party/WebKit/Source/core/style/BorderData.h

Issue 2013693002: [css-tables] Set table and cell widths dirty when section border changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle case where row is null Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/BorderData.h
diff --git a/third_party/WebKit/Source/core/style/BorderData.h b/third_party/WebKit/Source/core/style/BorderData.h
index eedc12a81742b7b946282c561e6307420d6b1a00..7bdb4d3e9e1259665a119a01391b1cec554e938e 100644
--- a/third_party/WebKit/Source/core/style/BorderData.h
+++ b/third_party/WebKit/Source/core/style/BorderData.h
@@ -124,6 +124,14 @@ public:
return !(*this == o);
}
+ bool sizeEquals(const BorderData& o) const
+ {
+ return borderLeftWidth() != o.borderLeftWidth()
+ || borderTopWidth() != o.borderTopWidth()
+ || borderRightWidth() != o.borderRightWidth()
+ || borderBottomWidth() != o.borderBottomWidth();
+ }
+
const BorderValue& left() const { return m_left; }
const BorderValue& right() const { return m_right; }
const BorderValue& top() const { return m_top; }
« no previous file with comments | « third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698