mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Servo does not need to support -moz-keyframes
This commit is contained in:
parent
350d9c6c47
commit
3af69cf9bf
1 changed files with 5 additions and 0 deletions
|
@ -1131,6 +1131,11 @@ impl<'a, 'b> AtRuleParser for NestedRuleParser<'a, 'b> {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
if cfg!(feature = "servo") &&
|
||||
prefix.as_ref().map_or(false, |p| matches!(*p, VendorPrefix::Moz)) {
|
||||
// Servo should not support @-moz-keyframes.
|
||||
return Err(())
|
||||
}
|
||||
let name = match input.next() {
|
||||
Ok(Token::Ident(ref value)) if value != "none" => Atom::from(&**value),
|
||||
Ok(Token::QuotedString(value)) => Atom::from(&*value),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue