mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Move FontTag to the generic module
This commit is contained in:
parent
b9862f7b28
commit
aea66a9fb6
5 changed files with 49 additions and 53 deletions
|
@ -1452,8 +1452,7 @@ impl Clone for ${style_struct.gecko_struct_name} {
|
|||
}
|
||||
|
||||
pub fn clone_${ident}(&self) -> longhands::${ident}::computed_value::T {
|
||||
use values::generics::font::{FontSettings, ${tag_type}};
|
||||
use values::specified::font::FontTag;
|
||||
use values::generics::font::{FontSettings, FontTag, ${tag_type}};
|
||||
|
||||
FontSettings(
|
||||
self.gecko.mFont.${gecko_ffi_name}.iter().map(|gecko_font_setting| {
|
||||
|
|
|
@ -52,14 +52,12 @@ use values::computed::transform::Translate as ComputedTranslate;
|
|||
use values::computed::transform::Scale as ComputedScale;
|
||||
use values::generics::transform::{self, Rotate, Translate, Scale, Transform, TransformOperation};
|
||||
use values::distance::{ComputeSquaredDistance, SquaredDistance};
|
||||
use values::generics::font::FontSettings as GenericFontSettings;
|
||||
use values::generics::font::{FontSettings as GenericFontSettings, FontTag, VariationValue};
|
||||
use values::computed::font::FontVariationSettings;
|
||||
use values::generics::font::VariationValue;
|
||||
use values::generics::effects::Filter;
|
||||
use values::generics::position as generic_position;
|
||||
use values::generics::svg::{SVGLength, SvgLengthOrPercentageOrNumber, SVGPaint};
|
||||
use values::generics::svg::{SVGPaintKind, SVGStrokeDashArray, SVGOpacity};
|
||||
use values::specified::font::FontTag;
|
||||
use void::{self, Void};
|
||||
|
||||
/// <https://drafts.csswg.org/css-transitions/#animtype-repeatable-list>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue