summaryrefslogtreecommitdiffstats
path: root/servo/components/style/values/specified/rect.rs
blob: 7955ecaa48dfeffdbceb48e4034507b688768123 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */

//! Specified types for CSS borders.

use crate::values::generics::rect::Rect;
use crate::values::specified::length::NonNegativeLengthOrNumber;

/// A specified rectangle made of four `<length-or-number>` values.
pub type NonNegativeLengthOrNumberRect = Rect<NonNegativeLengthOrNumber>;