mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Don't resolve URLs at parse time for Stylo.
It's a bit unfortunate the use separate implementations of SpecifiedUrl for Servo and Gecko, but they're different enough at this point that I don't think it really makes sense to try to share everything. Splitting them out has some nice simplifications as well. I recognize that there's still some potential correctness issues for Servo using the resolved URI in various places where the original URI may be the right thing, but I've got too much on my plate to look into that for now. MozReview-Commit-ID: BeDu93TQ4Ow
This commit is contained in:
parent
16e04046b5
commit
63e8367eee
14 changed files with 278 additions and 244 deletions
|
@ -429,7 +429,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
PropertyDeclaration::BackgroundImage(
|
||||
background_image::SpecifiedValue(vec![
|
||||
background_image::single_value::SpecifiedValue(Some(
|
||||
specified::Image::for_cascade(url.into(), specified::url::UrlExtraData { })
|
||||
specified::Image::for_cascade(url.into())
|
||||
))
|
||||
]))));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue