mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add font-style descriptor in @font-face
This commit is contained in:
parent
5405fb0d73
commit
8767b0d7cc
2 changed files with 24 additions and 0 deletions
|
@ -380,6 +380,13 @@
|
|||
-> Result<SpecifiedValue, ()> {
|
||||
SpecifiedValue::parse(input)
|
||||
}
|
||||
impl Parse for SpecifiedValue {
|
||||
#[inline]
|
||||
fn parse(_context: &ParserContext, input: &mut Parser)
|
||||
-> Result<SpecifiedValue, ()> {
|
||||
SpecifiedValue::parse(input)
|
||||
}
|
||||
}
|
||||
</%def>
|
||||
% if vector:
|
||||
<%call expr="vector_longhand(name, keyword=Keyword(name, values, **keyword_kwargs), **kwargs)">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue