mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Further changes required by Servo
This commit is contained in:
parent
bb703e303d
commit
2a11460915
2 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,7 @@ impl CSSRule {
|
|||
StyleCssRule::Page(_) => unreachable!(),
|
||||
StyleCssRule::Document(_) => unimplemented!(), // TODO
|
||||
StyleCssRule::Layer(_) => unimplemented!(), // TODO
|
||||
StyleCssRule::ScrollTimeline(_) => unimplemented!(), // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -477,6 +477,7 @@ impl<'a, 'b, 'i> AtRuleParser<'i> for NestedRuleParser<'a, 'b> {
|
|||
let cond = DocumentCondition::parse(self.context, input)?;
|
||||
AtRulePrelude::Document(cond)
|
||||
},
|
||||
#[cfg(feature = "gecko")]
|
||||
"scroll-timeline" if static_prefs::pref!("layout.css.scroll-linked-animations.enabled") => {
|
||||
let name = TimelineName::parse(self.context, input)?;
|
||||
AtRulePrelude::ScrollTimeline(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue