mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
style: Make tidy happy.
This commit is contained in:
parent
62c6f58a5b
commit
1f5d90568d
5 changed files with 9 additions and 9 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
use std::fmt;
|
||||
use style_traits::{CssWriter, ToCss};
|
||||
use values::animated::ToAnimatedValue;
|
||||
use values::{serialize_percentage, CSSFloat};
|
||||
use values::animated::ToAnimatedValue;
|
||||
use values::generics::NonNegative;
|
||||
|
||||
/// A computed percentage.
|
||||
|
|
|
@ -21,8 +21,8 @@ use values::computed::{Angle as ComputedAngle, Percentage as ComputedPercentage}
|
|||
use values::computed::{font as computed, Context, Length, NonNegativeLength, ToComputedValue};
|
||||
use values::computed::font::{FamilyName, FontFamilyList, FontStyleAngle, SingleFontFamily};
|
||||
use values::generics::NonNegative;
|
||||
use values::generics::font::{KeywordSize, VariationValue};
|
||||
use values::generics::font::{self as generics, FeatureTagValue, FontSettings, FontTag};
|
||||
use values::generics::font::{KeywordInfo as GenericKeywordInfo, KeywordSize, VariationValue};
|
||||
use values::specified::{AllowQuirks, Angle, Integer, LengthOrPercentage, NoCalcLength, Number, Percentage};
|
||||
use values::specified::length::{FontBaseSize, AU_PER_PT, AU_PER_PX};
|
||||
|
||||
|
@ -684,7 +684,7 @@ impl Parse for FontSizeAdjust {
|
|||
}
|
||||
|
||||
/// Additional information for specified keyword-derived font sizes.
|
||||
pub type KeywordInfo = GenericKeywordInfo<NonNegativeLength>;
|
||||
pub type KeywordInfo = generics::KeywordInfo<NonNegativeLength>;
|
||||
|
||||
impl KeywordInfo {
|
||||
/// Computes the final size for this font-size keyword, accounting for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue