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