Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
44 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- components/style/values/specified/mod.rs | ||
+++ components/style/values/specified/mod.rs | ||
@@ -4,40 +4,38 @@ | ||
|
||
//! Specified values. | ||
//! | ||
//! TODO(emilio): Enhance docs. | ||
|
||
use Namespace; | ||
use context::QuirksMode; | ||
use cssparser::{self, Parser, Token, serialize_identifier}; | ||
-use itoa; | ||
use parser::{ParserContext, Parse}; | ||
use self::grid::TrackSizeOrRepeat; | ||
use self::url::SpecifiedUrl; | ||
use std::ascii::AsciiExt; | ||
use std::f32; | ||
use std::fmt; | ||
-use std::io::Write; | ||
use style_traits::ToCss; | ||
use style_traits::values::specified::AllowedNumericType; | ||
use super::{Auto, CSSFloat, CSSInteger, Either, None_}; | ||
use super::computed::{self, Context}; | ||
use super::computed::{Shadow as ComputedShadow, ToComputedValue}; | ||
use super::generics::grid::{TrackBreadth as GenericTrackBreadth, TrackSize as GenericTrackSize}; | ||
use super::generics::grid::TrackList as GenericTrackList; | ||
use values::computed::ComputedValueAsSpecified; | ||
use values::specified::calc::CalcNode; | ||
|
||
#[cfg(feature = "gecko")] | ||
pub use self::align::{AlignItems, AlignJustifyContent, AlignJustifySelf, JustifyItems}; | ||
pub use self::background::BackgroundSize; | ||
pub use self::border::{BorderCornerRadius, BorderImageSlice, BorderImageWidth}; | ||
pub use self::border::{BorderImageSideWidth, BorderRadius, BorderSideWidth}; | ||
-pub use self::color::Color; | ||
+pub use self::color::{CSSColor, Color}; | ||
pub use self::rect::LengthOrNumberRect; | ||
pub use super::generics::grid::GridLine; | ||
pub use self::image::{ColorStop, EndingShape as GradientEndingShape, Gradient}; | ||
pub use self::image::{GradientItem, GradientKind, Image, ImageRect, ImageLayer}; | ||
pub use self::length::AbsoluteLength; | ||
pub use self::length::{FontRelativeLength, ViewportPercentageLength, CharacterWidth, Length, CalcLengthOrPercentage}; | ||
pub use self::length::{Percentage, LengthOrNone, LengthOrNumber, LengthOrPercentage, LengthOrPercentageOrAuto}; | ||
pub use self::length::{LengthOrPercentageOrNone, LengthOrPercentageOrAutoOrContent, NoCalcLength}; |