mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Make nscssproperty a method of longhand/shorthand/alias class.
This commit is contained in:
parent
2aee174b6d
commit
1599357cff
4 changed files with 22 additions and 30 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue