| 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 8c2b6e32669c419dd777ee71248b6360d796771f..636d758638484f1649cc2b6de19c6de5b2d82411 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSProperties.json5
|
| +++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
|
| @@ -140,18 +140,27 @@
|
| // - separator
|
| // The property supports a list of values, and when there is more than one,
|
| // it is separated with this character.
|
| - // - supports_percentage
|
| - // The property supports percentage types.
|
| typedom_types: {
|
| default: [],
|
| + valid_type: "list",
|
| + valid_values: [
|
| + "Angle",
|
| + "Flex",
|
| + "Frequency",
|
| + "Length",
|
| + "Number",
|
| + "Percent",
|
| + "Position",
|
| + "Resolution",
|
| + "Time",
|
| + "Transform",
|
| + "Unparsed",
|
| + "Image"
|
| + ],
|
| },
|
| separator: {
|
| valid_values: [",", " ", "/"],
|
| },
|
| - supports_percentage: {
|
| - default: false,
|
| - valid_type: "bool",
|
| - },
|
|
|
| // Flags which go into CSSPropertyMetadata:
|
| // - interpolable
|
| @@ -718,6 +727,7 @@
|
| initial: "InitialBorderWidth",
|
| interpolable: true,
|
| keywords: ["thin", "medium", "thick"],
|
| + typedom_types: ["Length"],
|
| field_template: "storage_only",
|
| include_paths: ["platform/LayoutUnit.h"],
|
| type_name: "LayoutUnit",
|
| @@ -790,6 +800,7 @@
|
| initial: "InitialBorderWidth",
|
| interpolable: true,
|
| keywords: ["thin", "medium", "thick"],
|
| + typedom_types: ["Length"],
|
| field_template: "storage_only",
|
| include_paths: ["platform/LayoutUnit.h"],
|
| type_name: "LayoutUnit",
|
| @@ -822,6 +833,7 @@
|
| initial: "InitialBorderWidth",
|
| interpolable: true,
|
| keywords: ["thin", "medium", "thick"],
|
| + typedom_types: ["Length"],
|
| field_template: "storage_only",
|
| include_paths: ["platform/LayoutUnit.h"],
|
| type_name: "LayoutUnit",
|
| @@ -878,7 +890,7 @@
|
| initial: "InitialBorderWidth",
|
| interpolable: true,
|
| keywords: ["thin", "medium", "thick"],
|
| - supports_percentage: true,
|
| + typedom_types: ["Length"],
|
| field_template: "storage_only",
|
| include_paths: ["platform/LayoutUnit.h"],
|
| type_name: "LayoutUnit",
|
| @@ -892,7 +904,6 @@
|
| converter: "ConvertLengthOrAuto",
|
| interpolable: true,
|
| keywords: ["auto"],
|
| - supports_percentage: true,
|
| field_template: "external",
|
| include_paths: ["platform/Length.h"],
|
| type_name: "Length",
|
| @@ -1263,7 +1274,6 @@
|
| is_descriptor: true,
|
| interpolable: true,
|
| keywords: ["auto", "fit-content", "min-content", "max-content"],
|
| - supports_percentage: true,
|
| field_template: "external",
|
| include_paths: ["platform/Length.h"],
|
| type_name: "Length",
|
| @@ -1329,7 +1339,6 @@
|
| converter: "ConvertLengthOrAuto",
|
| interpolable: true,
|
| keywords: ["auto"],
|
| - supports_percentage: true,
|
| field_template: "external",
|
| include_paths: ["platform/Length.h"],
|
| type_name: "Length",
|
| @@ -1790,7 +1799,6 @@
|
| converter: "ConvertLengthOrAuto",
|
| interpolable: true,
|
| keywords: ["auto"],
|
| - supports_percentage: true,
|
| field_template: "external",
|
| include_paths: ["platform/Length.h"],
|
| type_name: "Length",
|
| @@ -2159,7 +2167,6 @@
|
| converter: "ConvertLengthOrAuto",
|
| interpolable: true,
|
| keywords: ["auto"],
|
| - supports_percentage: true,
|
| field_template: "external",
|
| include_paths: ["platform/Length.h"],
|
| type_name: "Length",
|
| @@ -2727,7 +2734,6 @@
|
| is_descriptor: true,
|
| interpolable: true,
|
| keywords: ["auto", "fit-content", "min-content", "max-content"],
|
| - supports_percentage: true,
|
| field_template: "external",
|
| include_paths: ["platform/Length.h"],
|
| type_name: "Length",
|
|
|