style/values/computed/rect.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5//! Computed types for CSS borders.
6
7use crate::values::computed::length::NonNegativeLengthOrNumber;
8use crate::values::generics::rect::Rect;
9
10/// A specified rectangle made of four `<length-or-number>` values.
11pub type NonNegativeLengthOrNumberRect = Rect<NonNegativeLengthOrNumber>;