mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Do not use CVAS for gecko::SpecifiedUrl
This commit is contained in:
parent
b16c2572a9
commit
3fb52a0ef9
2 changed files with 1 additions and 6 deletions
|
@ -30,6 +30,7 @@ pub struct SpecifiedUrl {
|
|||
/// a property with this specified url value.
|
||||
pub image_value: Option<RefPtr<ImageValue>>,
|
||||
}
|
||||
trivial_to_computed_value!(SpecifiedUrl);
|
||||
|
||||
impl SpecifiedUrl {
|
||||
/// Try to parse a URL from a string value that is a valid CSS token for a
|
||||
|
|
|
@ -83,8 +83,6 @@ pub mod url {
|
|||
use cssparser::Parser;
|
||||
use parser::{Parse, ParserContext};
|
||||
use style_traits::ParseError;
|
||||
#[cfg(feature = "gecko")]
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
pub use ::servo::url::*;
|
||||
|
@ -99,10 +97,6 @@ impl Parse for SpecifiedUrl {
|
|||
}
|
||||
|
||||
impl Eq for SpecifiedUrl {}
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
impl ComputedValueAsSpecified for SpecifiedUrl {}
|
||||
|
||||
}
|
||||
|
||||
/// Parse an `<integer>` value, handling `calc()` correctly.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue