mirror of
https://github.com/servo/servo.git
synced 2025-09-16 01:48:22 +01:00
Reorder imports
This commit is contained in:
parent
4a947dd719
commit
9e92eb205a
546 changed files with 1968 additions and 1536 deletions
|
@ -6,7 +6,7 @@ use cssparser::{Parser, ParserInput};
|
|||
use style::context::QuirksMode;
|
||||
use style::parser::ParserContext;
|
||||
use style::stylesheets::{CssRuleType, Origin};
|
||||
use style_traits::{ParsingMode, ParseError};
|
||||
use style_traits::{ParseError, ParsingMode};
|
||||
|
||||
fn parse<T, F>(f: F, s: &'static str) -> Result<T, ParseError<'static>>
|
||||
where
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
use serde_json::{self, Value};
|
||||
use std::env;
|
||||
use std::fs::{File, remove_file};
|
||||
use std::fs::{remove_file, File};
|
||||
use std::path::Path;
|
||||
use std::process::Command;
|
||||
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
|
||||
use properties::{parse, parse_input};
|
||||
use style::computed_values::display::T as Display;
|
||||
use style::properties::{PropertyDeclaration, Importance};
|
||||
use style::properties::declaration_block::PropertyDeclarationBlock;
|
||||
use style::properties::parse_property_declaration_list;
|
||||
use style::values::RGBA;
|
||||
use style::values::specified::{BorderStyle, BorderSideWidth, Color};
|
||||
use style::values::specified::{Length, LengthOrPercentage, LengthOrPercentageOrAuto};
|
||||
use style::values::specified::NoCalcLength;
|
||||
use style::properties::{Importance, PropertyDeclaration};
|
||||
use style::values::specified::url::SpecifiedUrl;
|
||||
use style::values::specified::NoCalcLength;
|
||||
use style::values::specified::{BorderSideWidth, BorderStyle, Color};
|
||||
use style::values::specified::{Length, LengthOrPercentage, LengthOrPercentageOrAuto};
|
||||
use style::values::RGBA;
|
||||
use style_traits::ToCss;
|
||||
use stylesheets::block_from;
|
||||
|
||||
|
@ -486,10 +486,10 @@ mod shorthand_serialization {
|
|||
}
|
||||
|
||||
mod list_style {
|
||||
use super::*;
|
||||
use style::properties::longhands::list_style_position::SpecifiedValue as ListStylePosition;
|
||||
use style::properties::longhands::list_style_type::SpecifiedValue as ListStyleType;
|
||||
use style::values::generics::url::UrlOrNone as ImageUrlOrNone;
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn list_style_should_show_all_properties_when_values_are_set() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue