Bug 1328787 - Part 9: Set Keyframe.mPropertyValues for the case where keyframe is specified. r=heycam

MozReview-Commit-ID: Ayt7IsYShl4
This commit is contained in:
Hiroyuki Ikezoe 2017-01-28 18:57:27 +09:00
parent e20a3ad9b5
commit aa6372d99d
4 changed files with 75 additions and 20 deletions

View file

@ -665,3 +665,20 @@
}
% endif
</%def>
<%def name="alias_to_nscsspropertyid(alias)">
<%
if alias == "word-wrap":
return "nsCSSPropertyID_eCSSPropertyAlias_WordWrap"
return "nsCSSPropertyID::eCSSPropertyAlias_%s" % to_camel_case(alias)
%>
</%def>
<%def name="to_nscsspropertyid(ident)">
<%
if ident == "float":
ident = "float_"
return "nsCSSPropertyID::eCSSProperty_%s" % ident
%>
</%def>