mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Use conditional compilation for stylo properties
This commit is contained in:
parent
92c3961743
commit
c965beb3d9
12 changed files with 279 additions and 234 deletions
|
@ -1152,7 +1152,12 @@ impl PropertyDeclaration {
|
|||
},
|
||||
% endfor
|
||||
|
||||
_ => PropertyDeclarationParseResult::UnknownProperty
|
||||
_ => {
|
||||
if cfg!(all(debug_assertions, feature = "gecko")) && !name.starts_with('-') {
|
||||
println!("stylo: Unimplemented property setter: {}", name);
|
||||
}
|
||||
PropertyDeclarationParseResult::UnknownProperty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue