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

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

Issue 2938983002: Implement parseShorthand API for shorthand properties, "overflow", "font" and "font-variant" (Closed)
Patch Set: Rebase cl 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 8896c0aaead0a6e26a761f6df7ccf039b88ab075..aec2e34151245dc996befee4dbaf3e5464a8e974 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -3288,11 +3288,15 @@
{
name: "font",
longhands: "font-style;font-variant-ligatures;font-variant-caps;font-variant-numeric;font-weight;font-stretch;font-size;line-height;font-family",
+ api_class: true,
Bugs Nash 2017/06/16 03:51:50 'api_class' and 'api_methods' should go after 'nam
Jia 2017/06/19 03:54:41 Done.
+ api_methods: ["parseShorthand"],
},
{
name: "font-variant",
is_descriptor: true,
longhands: "font-variant-ligatures;font-variant-caps;font-variant-numeric",
+ api_class: true,
+ api_methods: ["parseShorthand"],
},
{
name: "grid",
@@ -3362,6 +3366,8 @@
{
name: "overflow",
longhands: "overflow-x;overflow-y",
+ api_class: true,
+ api_methods: ["parseShorthand"],
},
{
name: "padding",

Powered by Google App Engine
This is Rietveld 408576698