mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
script: Fix Servo build.
This commit is contained in:
parent
70635e7815
commit
66056bd4d5
2 changed files with 15 additions and 3 deletions
|
@ -685,9 +685,9 @@ impl LayoutElementHelpers for LayoutDom<Element> {
|
|||
if let Some(url) = background {
|
||||
hints.push(from_declaration(
|
||||
shared_lock,
|
||||
PropertyDeclaration::BackgroundImage(background_image::SpecifiedValue(vec![
|
||||
Either::Second(specified::Image::for_cascade(url.into())),
|
||||
])),
|
||||
PropertyDeclaration::BackgroundImage(background_image::SpecifiedValue(
|
||||
vec![Either::Second(specified::Image::for_cascade(url.into()))].into(),
|
||||
)),
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -2945,6 +2945,10 @@ impl<'a> SelectorsElement for DomRoot<Element> {
|
|||
}
|
||||
}
|
||||
|
||||
fn is_pseudo_element(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn match_pseudo_element(
|
||||
&self,
|
||||
_pseudo: &PseudoElement,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue