url.rs (548B)
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 7 use crate::values::generics::url::UrlOrNone as GenericUrlOrNone; 8 9 #[cfg(feature = "gecko")] 10 pub use crate::gecko::url::ComputedUrl; 11 #[cfg(feature = "servo")] 12 pub use crate::servo::url::ComputedUrl; 13 14 /// Computed <url> | <none> 15 pub type UrlOrNone = GenericUrlOrNone<ComputedUrl>;