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 6d3486ccedd946f7396a41d6ebcce7710ec6dc7a..e3736112ea09c4fb3d87b104257fcbd2eda865ea 100644 |
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5 |
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5 |
@@ -69,6 +69,14 @@ |
value_type: "str" |
}, |
+ // - field_size |
+ // Number of bits needed to store this field. Only used for storage_only |
+ // fields. If specified, the field will be stored as bit field. Otherwise |
+ // it will be stored as a normal data member. |
+ field_size: { |
+ valid_type: "int", |
+ }, |
+ |
// - field_template |
// Affects how the interface to this field is generated. |
// TODO(sashab, meade): Remove this once TypedOM types are specified for |
@@ -682,6 +690,11 @@ |
interpolable: true, |
keywords: ["thin", "medium", "thick"], |
typedom_types: ["Length"], |
+ field_template: "storage_only", |
+ type_name: "unsigned", |
+ field_size : 26, |
+ default_value: "WidthToFixedPoint(3)", |
+ field_group: "surround", |
}, |
{ |
name: "border-collapse", |
@@ -743,6 +756,11 @@ |
interpolable: true, |
keywords: ["thin", "medium", "thick"], |
typedom_types: ["Length"], |
+ field_template: "storage_only", |
+ type_name: "unsigned", |
+ field_size : 26, |
+ default_value: "WidthToFixedPoint(3)", |
+ field_group: "surround", |
}, |
{ |
name: "border-right-color", |
@@ -764,6 +782,11 @@ |
interpolable: true, |
keywords: ["thin", "medium", "thick"], |
typedom_types: ["Length"], |
+ field_template: "storage_only", |
+ type_name: "unsigned", |
+ field_size : 26, |
+ default_value: "WidthToFixedPoint(3)", |
+ field_group: "surround", |
}, |
{ |
name: "border-top-color", |
@@ -808,6 +831,11 @@ |
keywords: ["thin", "medium", "thick"], |
supports_percentage: true, |
typedom_types: ["Length"], |
+ field_template: "storage_only", |
+ type_name: "unsigned", |
+ field_size : 26, |
+ default_value: "WidthToFixedPoint(3)", |
+ field_group: "surround", |
}, |
{ |
name: "bottom", |