Commit c7beb2c
authored
Fix NodeIterator pre-remove steps for ancestors of root
Generalize the first early-return clause so it bails when toBeRemovedNode
is an inclusive ancestor of the iterator's root, not only when it equals
the root. Implementations and the WPT test (NodeIterator-removal.html)
already do this.
Additional tests: web-platform-tests/wpt#60997.
Closes #907.1 parent 729983a commit c7beb2c
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10320 | 10320 | | |
10321 | 10321 | | |
10322 | 10322 | | |
10323 | | - | |
10324 | | - | |
| 10323 | + | |
| 10324 | + | |
| 10325 | + | |
10325 | 10326 | | |
10326 | 10327 | | |
10327 | 10328 | | |
| |||
0 commit comments