mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Further changes required by Servo
This commit is contained in:
parent
a2a4ec6ffb
commit
2b123e20ec
1 changed files with 1 additions and 5 deletions
|
@ -358,14 +358,10 @@ impl<'dom, LayoutDataType: LayoutDataTrait> style::dom::TElement
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn set_selector_flags(&self, flags: ElementSelectorFlags) {
|
fn set_selector_flags(&self, flags: ElementSelectorFlags) {
|
||||||
self.element.insert_selector_flags(flags);
|
self.element.insert_selector_flags(flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn has_selector_flags(&self, flags: ElementSelectorFlags) -> bool {
|
|
||||||
self.element.has_selector_flags(flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn has_animations(&self, context: &SharedStyleContext) -> bool {
|
fn has_animations(&self, context: &SharedStyleContext) -> bool {
|
||||||
// This is not used for pseudo elements currently so we can pass None.
|
// This is not used for pseudo elements currently so we can pass None.
|
||||||
return self.has_css_animations(context, /* pseudo_element = */ None) ||
|
return self.has_css_animations(context, /* pseudo_element = */ None) ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue