Remove special case for nsCSSPropertyID

This commit is contained in:
Xidorn Quan 2016-12-21 18:15:18 +11:00
parent 2760e2bae6
commit 6a05615e67
3 changed files with 54 additions and 58 deletions

View file

@ -650,10 +650,6 @@ impl PropertyId {
if ident == "float":
ident = "float_"
elif "outline_radius" in ident:
ident = ident.replace("right", "Right").replace("left", "Left")
elif ident.startswith("_moz_"):
ident = ident[len("_moz_"):]
return "nsCSSPropertyID::eCSSProperty_" + ident
%>
match id {