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

Unified Diff: Source/core/scripts/templates/StylePropertyShorthand.h.tmpl

Issue 22925002: Add support to resolve unprefixed CSS animations properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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: Source/core/scripts/templates/StylePropertyShorthand.h.tmpl
diff --git a/Source/core/scripts/templates/StylePropertyShorthand.h.tmpl b/Source/core/scripts/templates/StylePropertyShorthand.h.tmpl
index 2bf03820d62c30e9cf012d7f20d4efacb1db226a..5ef9febce3746470be46774e5994f71ea0f2ff18 100644
--- a/Source/core/scripts/templates/StylePropertyShorthand.h.tmpl
+++ b/Source/core/scripts/templates/StylePropertyShorthand.h.tmpl
@@ -70,8 +70,9 @@ private:
{%- set camel_case_name = property.camel_case_name %}
const StylePropertyShorthand& {{ camel_case_name }}Shorthand();
{%- endfor %}
-const StylePropertyShorthand& borderShorthandForParsing();
-const StylePropertyShorthand& webkitAnimationShorthandForParsing();
+
+// Returns an empty list if the property is not a shorthand, otherwise the list of longhands for parsing.
+const StylePropertyShorthand& parsingShorthandForProperty(CSSPropertyID);
// Returns an empty list if the property is not a shorthand.
const StylePropertyShorthand& shorthandForProperty(CSSPropertyID);
« Source/core/page/UseCounter.cpp ('K') | « Source/core/rendering/style/KeyframeList.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698