mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Introduce style::values::generics::rect ▭
This defines a single type Rect<T> which allows us to abstract over CSS values made of four sides top, right, bottom and left.
This commit is contained in:
parent
e9c5860808
commit
7a214831f0
10 changed files with 169 additions and 105 deletions
|
@ -30,6 +30,7 @@ use values::specified::calc::CalcNode;
|
|||
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use self::align::{AlignItems, AlignJustifyContent, AlignJustifySelf, JustifyItems};
|
||||
pub use self::rect::LengthOrNumberRect;
|
||||
pub use self::color::Color;
|
||||
pub use super::generics::grid::GridLine;
|
||||
pub use self::image::{ColorStop, EndingShape as GradientEndingShape, Gradient};
|
||||
|
@ -50,6 +51,7 @@ pub mod grid;
|
|||
pub mod image;
|
||||
pub mod length;
|
||||
pub mod position;
|
||||
pub mod rect;
|
||||
|
||||
/// Common handling for the specified value CSS url() values.
|
||||
pub mod url {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue