Make nscssproperty a method of longhand/shorthand/alias class.

This commit is contained in:
Xidorn Quan 2018-04-11 15:55:11 +10:00
parent 2aee174b6d
commit 1599357cff
4 changed files with 22 additions and 30 deletions

View file

@ -872,17 +872,3 @@
</%self:logical_setter_helper>
}
</%def>
<%def name="alias_to_nscsspropertyid(alias)">
<%
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>