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

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

Issue 2850173003: Move LengthSizes border-*-radius out of BorderData (Closed)
Patch Set: Created 3 years, 8 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 753ff07e9080239a5b8558d1bc47644d8879b6b3..d2e116908af429344178fd7a3b0958bc767bfdd6 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -648,16 +648,22 @@
api_class: "CSSPropertyAPIBorderRadius",
api_methods: ["parseSingleValue"],
converter: "ConvertRadius",
- initial: "InitialBorderRadius",
interpolable: true,
+ field_template: "external",
+ field_type_path: "platform/LengthSize",
+ field_group: "surround",
+ default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
},
{
name: "border-bottom-right-radius",
api_class: "CSSPropertyAPIBorderRadius",
api_methods: ["parseSingleValue"],
converter: "ConvertRadius",
- initial: "InitialBorderRadius",
interpolable: true,
+ field_template: "external",
+ field_type_path: "platform/LengthSize",
+ field_group: "surround",
+ default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
},
{
name: "border-bottom-style",
@@ -767,16 +773,22 @@
api_class: "CSSPropertyAPIBorderRadius",
api_methods: ["parseSingleValue"],
converter: "ConvertRadius",
- initial: "InitialBorderRadius",
interpolable: true,
+ field_template: "external",
+ field_type_path: "platform/LengthSize",
+ field_group: "surround",
+ default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
},
{
name: "border-top-right-radius",
api_class: "CSSPropertyAPIBorderRadius",
api_methods: ["parseSingleValue"],
converter: "ConvertRadius",
- initial: "InitialBorderRadius",
interpolable: true,
+ field_template: "external",
+ field_type_path: "platform/LengthSize",
+ field_group: "surround",
+ default_value: "LengthSize(Length(0, kFixed), Length(0, kFixed))",
},
{
name: "border-top-style",

Powered by Google App Engine
This is Rietveld 408576698