Factor out a UrlOrNone value type and make -moz-binding use it.

MozReview-Commit-ID: L57QEf40e2m
This commit is contained in:
Cameron McCormack 2016-10-12 16:25:16 +08:00
parent 333afb61f6
commit 75e97c02dc
5 changed files with 62 additions and 66 deletions

View file

@ -13,7 +13,7 @@ use super::LocalToCss;
pub use cssparser::Color as CSSColor;
pub use self::image::{EndingShape as GradientShape, Gradient, GradientKind, Image};
pub use self::image::{LengthOrKeyword, LengthOrPercentageOrKeyword};
pub use super::specified::{Angle, BorderStyle, Time, UrlExtraData};
pub use super::specified::{Angle, BorderStyle, Time, UrlExtraData, UrlOrNone};
pub mod basic_shape;
pub mod image;