mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Further changes required by Servo
This commit is contained in:
parent
a4ad5e19b0
commit
38caec4f89
2 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,7 @@ impl CSSRule {
|
|||
StyleCssRule::Viewport(_) => unimplemented!(), // TODO
|
||||
StyleCssRule::LayerBlock(_) => unimplemented!(), // TODO
|
||||
StyleCssRule::LayerStatement(_) => unimplemented!(), // TODO
|
||||
StyleCssRule::FontPaletteValues(_) => unimplemented!(), // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -503,6 +503,7 @@ impl<'a, 'b, 'i> AtRuleParser<'i> for NestedRuleParser<'a, 'b> {
|
|||
let family_names = parse_family_name_list(self.context, input)?;
|
||||
AtRulePrelude::FontFeatureValues(family_names)
|
||||
},
|
||||
#[cfg(feature = "gecko")]
|
||||
"font-palette-values" if static_prefs::pref!("layout.css.font-palette.enabled") => {
|
||||
let name = DashedIdent::parse(self.context, input)?;
|
||||
AtRulePrelude::FontPaletteValues(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue