aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/values/computed/rect.rs
blob: 268e090dcbcdc663b12e3834f7fd6fdaa1a57741 (plain) (blame)
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 http://mozilla.org/MPL/2.0/. */

//! Computed types for CSS borders.

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

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