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

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: Replace ImplicitProperty by IsImplicitProperty 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 4488382919d226c5377c2183a8c72c7c3519c0de..14292271df1a4aaed88e3f99d0cc6942112003e0 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -3635,10 +3635,14 @@
{
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,
+ api_methods: ["parseShorthand"],
},
{
name: "font-variant",
longhands: "font-variant-ligatures;font-variant-caps;font-variant-numeric",
+ api_class: true,
+ api_methods: ["parseShorthand"],
is_descriptor: true,
},
{
@@ -3709,6 +3713,8 @@
{
name: "overflow",
longhands: "overflow-x;overflow-y",
+ api_class: true,
+ api_methods: ["parseShorthand"],
},
{
name: "padding",
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698