Fix test-tidy formatting errors

This commit is contained in:
Dmitry 2018-03-09 01:21:23 +03:00
parent 4739775877
commit acdb4df53b

View file

@ -6,14 +6,16 @@
use cssparser::{Parser, Token}; use cssparser::{Parser, Token};
use parser::{Parse, ParserContext}; use parser::{Parse, ParserContext};
use properties::longhands::writing_mode::computed_value::T as SpecifiedWritingMode;
use selectors::parser::SelectorParseErrorKind; use selectors::parser::SelectorParseErrorKind;
use std::fmt::{self, Write}; use std::fmt::{self, Write};
use style_traits::{CssWriter, ParseError, StyleParseErrorKind, ToCss}; use style_traits::{CssWriter, ParseError, StyleParseErrorKind, ToCss};
use unicode_segmentation::UnicodeSegmentation;
use values::computed::{Context, ToComputedValue}; use values::computed::{Context, ToComputedValue};
use values::computed::text::KeywordValue as ComputedKeywordValue;
use values::computed::text::LineHeight as ComputedLineHeight; use values::computed::text::LineHeight as ComputedLineHeight;
use values::computed::text::TextEmphasisStyle as ComputedTextEmphasisStyle; use values::computed::text::TextEmphasisStyle as ComputedTextEmphasisStyle;
use values::computed::text::TextOverflow as ComputedTextOverflow; use values::computed::text::TextOverflow as ComputedTextOverflow;
use values::computed::text::KeywordValue as ComputedKeywordValue;
use values::generics::text::InitialLetter as GenericInitialLetter; use values::generics::text::InitialLetter as GenericInitialLetter;
use values::generics::text::LineHeight as GenericLineHeight; use values::generics::text::LineHeight as GenericLineHeight;
use values::generics::text::MozTabSize as GenericMozTabSize; use values::generics::text::MozTabSize as GenericMozTabSize;
@ -21,8 +23,6 @@ use values::generics::text::Spacing;
use values::specified::{AllowQuirks, Integer, NonNegativeNumber, Number}; use values::specified::{AllowQuirks, Integer, NonNegativeNumber, Number};
use values::specified::length::{FontRelativeLength, Length, LengthOrPercentage, NoCalcLength}; use values::specified::length::{FontRelativeLength, Length, LengthOrPercentage, NoCalcLength};
use values::specified::length::{NonNegativeLength, NonNegativeLengthOrPercentage}; use values::specified::length::{NonNegativeLength, NonNegativeLengthOrPercentage};
use properties::longhands::writing_mode::computed_value::T as SpecifiedWritingMode;
use unicode_segmentation::UnicodeSegmentation;
/// A specified type for the `initial-letter` property. /// A specified type for the `initial-letter` property.
pub type InitialLetter = GenericInitialLetter<Number, Integer>; pub type InitialLetter = GenericInitialLetter<Number, Integer>;