style/values/computed/background.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 values related to backgrounds.
6
7use crate::values::computed::length::NonNegativeLengthPercentage;
8use crate::values::generics::background::BackgroundSize as GenericBackgroundSize;
9
10pub use crate::values::specified::background::BackgroundRepeat;
11
12/// A computed value for the `background-size` property.
13pub type BackgroundSize = GenericBackgroundSize<NonNegativeLengthPercentage>;