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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2869043002: Store border-*-color on SurroundData in ComputedStyle not BorderColorAndStyle (Closed)
Patch Set: Always return VisitedDependantColor(CSSPropertyID) 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/css/ComputedStyleExtraFields.json5
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
index 4607e091a26280acee6d8ebc4a10eec9653651e4..f8cecdfa30ce1d92c47af3c903d72e670f3cf315 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -22,6 +22,34 @@
default_value: "false",
has_custom_compare_and_copy: true,
},
+ {
+ name: "BorderLeftColorIsCurrentColor",
+ field_template: "primitive",
+ default_value: "true",
+ type_name: "bool",
+ field_group: "surround",
+ },
+ {
+ name: "BorderRightColorIsCurrentColor",
+ field_template: "primitive",
+ default_value: "true",
+ type_name: "bool",
+ field_group: "surround",
+ },
+ {
+ name: "BorderTopColorIsCurrentColor",
+ field_template: "primitive",
+ default_value: "true",
+ type_name: "bool",
+ field_group: "surround",
+ },
+ {
+ name: "BorderBottomColorIsCurrentColor",
+ field_template: "primitive",
+ default_value: "true",
+ type_name: "bool",
+ field_group: "surround",
+ },
{
name: "OriginalDisplay",
field_template: "keyword",

Powered by Google App Engine
This is Rietveld 408576698