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

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

Issue 2850173003: Move LengthSizes border-*-radius out of BorderData (Closed)
Patch Set: Rebase 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 aa71d07cb05d950e9dd6e657a4f19397ea33c017..4b6a5dd71779fb3287e8ce7cd56e55f36bd4509a 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