mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
selectors: Never match ::slotted on <slot>s.
This fixes the test from https://github.com/w3c/web-platform-tests/pull/9212 in Gecko.
This commit is contained in:
parent
bc7dd644f6
commit
61e60a87e5
7 changed files with 36 additions and 7 deletions
|
@ -295,6 +295,10 @@ impl<'a, E> Element for ElementWrapper<'a, E>
|
|||
self.element.is_html_element_in_html_document()
|
||||
}
|
||||
|
||||
fn is_html_slot_element(&self) -> bool {
|
||||
self.element.is_html_slot_element()
|
||||
}
|
||||
|
||||
fn get_local_name(&self) -> &<Self::Impl as ::selectors::SelectorImpl>::BorrowedLocalName {
|
||||
self.element.get_local_name()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue