Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-21 22:13:14 +01:00 committed by Martin Robinson
parent ff8100d396
commit cd67a09ac1

View file

@ -459,6 +459,11 @@ impl<'dom, LayoutDataType: LayoutDataTrait> style::dom::TElement
) -> euclid::default::Size2D<Option<app_units::Au>> {
todo!();
}
fn anchors_relative_selector(&self) -> bool {
self.element
.has_selector_flags(ElementSelectorFlags::ANCHORS_RELATIVE_SELECTOR)
}
}
impl<'dom, LayoutDataType: LayoutDataTrait> ::selectors::Element