ladybird/Tests/LibWeb/Text/expected/wpt-import/dom
Michael Manganiello e7654c2e08
Some checks are pending
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Fix off-by-one offset error in NodeIterator forward traversal
As `node->parent()` was being called before comparing `node` with
`stay_within`, the code was incorrectly allowing traversal to the
parent node even when it should not have.

This change ensures that the parent is only checked after
confirming that the current node is not the `stay_within` node.

All `dom/traversal/NodeIterator.html` WPT tests get fixed after this
change.
2025-08-02 07:38:27 +02:00
..
collections LibWeb: PlatformObject::DefineOwnProperty fix 'has own property' check 2024-12-20 15:10:24 +01:00
events LibWeb: Pass along the init dictionary for error / buffer change events 2025-03-25 07:52:12 +00:00
lists Tests: Create imported WPT test output from completion callback data 2024-12-02 22:41:51 +00:00
nodes Tests: Add XHTML tests for CDATA, PIs and Comment nodes in the DOM 2025-07-19 14:56:20 +02:00
ranges LibWeb: Throw pre insertion validity errors from the correct global 2025-07-25 09:08:14 +02:00
traversal LibWeb: Fix off-by-one offset error in NodeIterator forward traversal 2025-08-02 07:38:27 +02:00