mirror of
https://github.com/servo/servo.git
synced 2025-07-10 17:03:40 +01:00
style: Derive ToComputedValue for font-variant-caps.
This commit is contained in:
parent
c87b485fa6
commit
9788ffe3e4
1 changed files with 1 additions and 4 deletions
|
@ -1175,15 +1175,12 @@ ${helpers.single_keyword_system("font-variant-caps",
|
|||
spec="https://drafts.csswg.org/css-fonts/#propdef-font-synthesis">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
impl ComputedValueAsSpecified for SpecifiedValue {}
|
||||
|
||||
pub mod computed_value {
|
||||
pub use super::SpecifiedValue as T;
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[derive(Clone, Debug, PartialEq, ToComputedValue)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
pub struct SpecifiedValue {
|
||||
pub weight: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue