mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Remove special case for nsCSSPropertyID
This commit is contained in:
parent
2760e2bae6
commit
6a05615e67
3 changed files with 54 additions and 58 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue