mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement concept of shadow including tree order
This commit is contained in:
parent
f6ba165882
commit
2e5c058463
15 changed files with 69 additions and 43 deletions
|
@ -128,7 +128,7 @@ impl VirtualMethods for HTMLFieldSetElement {
|
|||
});
|
||||
let fields = children.flat_map(|child| {
|
||||
child
|
||||
.traverse_preorder()
|
||||
.traverse_preorder(/* shadow including */ false)
|
||||
.filter(|descendant| match descendant.type_id() {
|
||||
NodeTypeId::Element(ElementTypeId::HTMLElement(
|
||||
HTMLElementTypeId::HTMLButtonElement,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue