style/values/computed/url.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//! Common handling for the computed value CSS url() values.
6
7use crate::values::generics::url::UrlOrNone as GenericUrlOrNone;
8
9#[cfg(feature = "gecko")]
10pub use crate::gecko::url::ComputedUrl;
11#[cfg(feature = "servo")]
12pub use crate::servo::url::ComputedUrl;
13
14/// Computed <url> | <none>
15pub type UrlOrNone = GenericUrlOrNone<ComputedUrl>;