mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Parse at-rule without block in two stages
This commit is contained in:
parent
09df9c4316
commit
2bca62045f
19 changed files with 133 additions and 106 deletions
|
@ -179,7 +179,8 @@ struct FontFaceRuleParser<'a, 'b: 'a> {
|
|||
|
||||
/// Default methods reject all at rules.
|
||||
impl<'a, 'b, 'i> AtRuleParser<'i> for FontFaceRuleParser<'a, 'b> {
|
||||
type Prelude = ();
|
||||
type PreludeNoBlock = ();
|
||||
type PreludeBlock = ();
|
||||
type AtRule = ();
|
||||
type Error = SelectorParseError<'i, StyleParseError<'i>>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue