Remove style::values::HasViewportPercentage reexport

This commit is contained in:
Anthony Ramine 2017-05-20 22:00:05 +02:00
parent 4f0b24ac0c
commit cb2e04acf6
16 changed files with 22 additions and 27 deletions

View file

@ -82,7 +82,7 @@
use smallvec::SmallVec;
use std::fmt;
#[allow(unused_imports)]
use values::HasViewportPercentage;
use style_traits::HasViewportPercentage;
use style_traits::ToCss;
pub mod single_value {

View file

@ -87,8 +87,8 @@ ${helpers.predefined_type("clip",
spec="https://drafts.fxtf.org/filters/#propdef-filter">
//pub use self::computed_value::T as SpecifiedValue;
use std::fmt;
use style_traits::ToCss;
use values::{CSSFloat, HasViewportPercentage};
use style_traits::{HasViewportPercentage, ToCss};
use values::CSSFloat;
use values::specified::{Angle, Length};
#[cfg(feature = "gecko")]
use values::specified::Shadow;

View file

@ -550,8 +550,8 @@ ${helpers.single_keyword_system("font-variant-caps",
use properties::longhands::system_font::SystemFont;
use properties::style_structs::Font;
use std::fmt;
use style_traits::ToCss;
use values::{FONT_MEDIUM_PX, HasViewportPercentage};
use style_traits::{HasViewportPercentage, ToCss};
use values::FONT_MEDIUM_PX;
use values::specified::{AllowQuirks, FontRelativeLength, LengthOrPercentage};
use values::specified::{NoCalcLength, Percentage};
use values::specified::length::FontBaseSize;

View file

@ -34,10 +34,10 @@ use parser::{PARSING_MODE_DEFAULT, Parse, ParserContext};
use properties::animated_properties::TransitionProperty;
#[cfg(feature = "servo")] use servo_config::prefs::PREFS;
use shared_lock::StylesheetGuards;
use style_traits::ToCss;
use style_traits::{HasViewportPercentage, ToCss};
use stylesheets::{CssRuleType, Origin, UrlExtraData};
#[cfg(feature = "servo")] use values::Either;
use values::{HasViewportPercentage, computed};
use values::computed;
use cascade_info::CascadeInfo;
use rule_tree::StrongRuleNode;
use style_adjuster::StyleAdjuster;