Skip to content

Commit a3eae13

Browse files
committed
Further changes required by Servo
1 parent 8f861cf commit a3eae13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/script/layout_dom/element.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,11 @@ impl<'dom, LayoutDataType: LayoutDataTrait> style::dom::TElement
459459
) -> euclid::default::Size2D<Option<app_units::Au>> {
460460
todo!();
461461
}
462+
463+
fn anchors_relative_selector(&self) -> bool {
464+
self.element
465+
.has_selector_flags(ElementSelectorFlags::ANCHORS_RELATIVE_SELECTOR)
466+
}
462467
}
463468

464469
impl<'dom, LayoutDataType: LayoutDataTrait> ::selectors::Element

0 commit comments

Comments
 (0)