Commit Graph
13 Commits
Author SHA1 Message Date
ldm0 4bd588d9ee fix(input): complete native drag events and rich payloads 2026-10-30 03:27:19 +08:00
ldm0 3bb459f524 feat(cdp): intercept native drags with complete input lifecycle 2026-10-30 03:27:19 +08:00
ldm0 0385279bd8 fix(dom): convert Range arguments through native WebIDL brands 2026-10-25 03:38:28 +08:00
ldm0 e4684e8f98 fix(dom): validate Range DocumentType contents before mutation 2026-10-20 05:22:03 +08:00
ldm0 4997e6d0d3 fix(accessibility): project computed visibility and composed names 2026-10-10 11:53:21 +08:00
ldm0 86dbfcafea fix(geometry): return branded DOMRectList objects
Return DOMRectList from Element and Range geometry queries, including empty results. Provide the prototype, item lookup, indexed property descriptors, and rejection of structured cloning. Preserve pending layout exceptions while constructing fallback results.

Source: 6d603dfc03
2026-10-09 21:09:41 +08:00
ldm0 179241dedd refactor(layout): publish layout only through explicit visual output
Make geometry, input and observers read the latest published layout without
cold-start or invalidation-triggered layout. Only screenshot, screencast and
PDF output can build and publish a new tree.

Connect WebDriver page screenshots to the shared output pipeline, explain how
to initialize layout in errors, and migrate fixtures to explicit publication.
Remove obsolete read policies and embedded-frame completeness metadata.
2026-09-25 10:19:22 +08:00
ldm0 e6b08a4e30 fix(dom): create wrappers in their receiver realm
Cached child-document wrappers reapplied their current owner's native prototype,
overwriting JavaScript changes and changing prototypes during adoption. Return
cached wrappers directly and remove the custom-element exceptions and the
owner-document prototype correction from wrapper creation.

Create child Document wrappers in their owning context, deferring creation for
unmaterialized initial empty frames. Choose the receiver's creation context at
DOM return boundaries, including splitText, shadow and template access, forms,
Range and XPath results, and named Window access. Collection indexing and named
access use the collection's context. Keep traversal results and NodeFilter
arguments in the node document's realm as required by NodeWrapInOwnContext.
Wrapper creation uses the selected context's intrinsic interface prototype
without reading author-visible constructors or repairing prototypes later.

Cover changed and null prototypes, adoption, child Document and Range realms,
borrowed DOM methods, property interceptors, collections, replaced public
constructors, and isolated-world wrapper identity. Exercise first access before
other APIs can hide an incorrect creation realm by populating the wrapper cache.

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast (17,776 passed, 13 skipped)
2026-09-16 14:59:42 +08:00
ldm0 31fbadca9b fix(selection): respect document and modal inert boundaries
Source: 1354930065, eb2174ed49, f7b96d7940
2026-09-16 14:37:59 +08:00
ldm0 f684e465bc fix(selection): suppress trailing newline whitespace 2026-09-16 05:45:10 +08:00
ldm0 3cdd95f6d5 fix(selection): preserve collapsed inline whitespace
Source: 2953b56b17
2026-09-15 20:44:01 +08:00
ldm0 28aaaa9e8a feat(cli): add disable-js fetch mode 2026-08-25 16:05:34 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00