mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Further changes required by Servo
This commit is contained in:
parent
efdf518acc
commit
8a5ba3fe16
2 changed files with 4 additions and 2 deletions
|
@ -624,7 +624,7 @@
|
|||
pub use self::computed_value::T as SpecifiedValue;
|
||||
pub mod computed_value {
|
||||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, Eq, FromPrimitive, MallocSizeOf, Parse, PartialEq, SpecifiedValueInfo, ToComputedValue, ToCss, ToResolvedValue, ToShmem)]
|
||||
#[derive(Clone, Copy, Debug, Eq, FromPrimitive, Hash, MallocSizeOf, Parse, PartialEq, SpecifiedValueInfo, ToComputedValue, ToCss, ToResolvedValue, ToShmem)]
|
||||
pub enum T {
|
||||
% for variant in keyword.values_for(engine):
|
||||
<%
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
>
|
||||
use crate::computed_values::font_variant_caps::T::SmallCaps;
|
||||
use crate::parser::Parse;
|
||||
use crate::properties::longhands::{font_family, font_style, font_size, font_weight, font_stretch};
|
||||
use crate::properties::longhands::{font_family, font_style, font_weight, font_stretch};
|
||||
#[cfg(feature = "gecko")]
|
||||
use crate::properties::longhands::font_size;
|
||||
use crate::properties::longhands::font_variant_caps;
|
||||
use crate::values::specified::text::LineHeight;
|
||||
use crate::values::specified::FontSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue