mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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
|
@ -364,7 +364,7 @@ impl CustomElementRegistryMethods for CustomElementRegistry {
|
|||
// Steps 14-15
|
||||
for candidate in document
|
||||
.upcast::<Node>()
|
||||
.traverse_preorder()
|
||||
.traverse_preorder(/* shadow including */ true)
|
||||
.filter_map(DomRoot::downcast::<Element>)
|
||||
{
|
||||
let is = candidate.get_is();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue