summaryrefslogtreecommitdiffstats
path: root/servo/components/style/values/computed/rect.rs
blob: ec44360fc81da93c501f9ee289b7b6fafc6d0fe5 (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/. */

//! Computed types for CSS borders.

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

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