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

Unified Diff: third_party/WebKit/Source/core/css/CSSProperties.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/CSSProperties.json5
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.json5 b/third_party/WebKit/Source/core/css/CSSProperties.json5
index e3736112ea09c4fb3d87b104257fcbd2eda865ea..a3eecdf2886e48cb863c48d621a70066ad3850c8 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -652,6 +652,10 @@
name: "border-bottom-color",
custom_all: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/graphics/Color",
+ default_value: "0",
+ field_group: "surround",
},
{
name: "border-bottom-left-radius",
@@ -740,6 +744,10 @@
name: "border-left-color",
custom_all: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/graphics/Color",
+ default_value: "0",
+ field_group: "surround",
},
{
name: "border-left-style",
@@ -766,6 +774,10 @@
name: "border-right-color",
custom_all: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/graphics/Color",
+ default_value: "0",
+ field_group: "surround",
},
{
name: "border-right-style",
@@ -792,6 +804,10 @@
name: "border-top-color",
custom_all: true,
interpolable: true,
+ field_template: "storage_only",
+ field_type_path: "platform/graphics/Color",
+ default_value: "0",
+ field_group: "surround",
},
{
name: "border-top-left-radius",

Powered by Google App Engine
This is Rietveld 408576698