Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-08-17 03:10:59 +02:00 committed by Martin Robinson
parent 3d0cf4dbf9
commit f0b7f3aca2
3 changed files with 19 additions and 3 deletions

View file

@ -3178,6 +3178,10 @@ impl<'a> SelectorsElement for DomRoot<Element> {
.next()
}
fn first_element_child(&self) -> Option<DomRoot<Element>> {
self.GetFirstElementChild()
}
fn attr_matches(
&self,
ns: &NamespaceConstraint<&style::Namespace>,