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

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

Issue 2882603002: Implemented remaining non-grouped longhand property APIs (Closed)
Patch Set: implemented single property apis using script Created 3 years, 6 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 1499c31198485e782dbc7458d9e3dddca8d7569a..20387280aece53d2d4bacd32aec5f313185ecba2 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -307,6 +307,8 @@
},
{
name: "animation-direction",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
custom_all: true,
keywords: ["normal", "reverse", "alternate", "alternate-reverse"],
priority: "Animation",
@@ -319,11 +321,15 @@
},
{
name: "animation-fill-mode",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
custom_all: true,
priority: "Animation",
},
{
name: "animation-iteration-count",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
custom_all: true,
keywords: ["infinite"],
priority: "Animation",
@@ -338,6 +344,8 @@
},
{
name: "animation-play-state",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
custom_all: true,
priority: "Animation",
},
@@ -358,6 +366,8 @@
},
{
name: "transition-property",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
custom_all: true,
priority: "Animation",
},
@@ -482,6 +492,8 @@
},
{
name: "font-weight",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertFontWeight",
is_descriptor: true,
font: true,
@@ -634,6 +646,8 @@
},
{
name: "background-color",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
custom_all: true,
interpolable: true,
},
@@ -916,6 +930,8 @@
},
{
name: "box-shadow",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertShadowList",
interpolable: true,
},
@@ -1575,6 +1591,8 @@
},
{
name: "object-position",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertPosition",
interpolable: true,
},
@@ -1763,6 +1781,8 @@
},
{
name: "perspective-origin",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertPosition",
interpolable: true,
},
@@ -1862,6 +1882,8 @@
},
{
name: "scroll-snap-destination",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertPosition",
runtime_flag: "CSSScrollSnapPoints",
},
@@ -2128,6 +2150,8 @@
},
{
name: "text-shadow",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertShadowList",
inherited: true,
interpolable: true,
@@ -2382,6 +2406,8 @@
},
{
name: "-webkit-box-reflect",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
converter: "ConvertBoxReflect",
},
{
@@ -3073,6 +3099,8 @@
},
{
name: "border-color",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
longhands: "border-top-color;border-right-color;border-bottom-color;border-left-color",
},
{
@@ -3158,6 +3186,8 @@
},
{
name: "grid-gap",
+ api_class: true,
+ api_methods: ["parseSingleValue"],
longhands: "grid-row-gap;grid-column-gap",
runtime_flag: "CSSGridLayout",
},

Powered by Google App Engine
This is Rietveld 408576698