Commit Graph
35 Commits
Author SHA1 Message Date
ldm0 c2c5ce0da0 fix(forms): sanitize multiple and IDN email values 2026-09-27 05:50:50 +08:00
ldm0 511c8a2341 refactor(parser): centralize element construction lifecycles
Separate parser provenance from active child construction. Share one
construction session across HTML/XML parsers and runtime adapters, with
completion ownership, normal-EOF checks, and cancellation that does not
publish incomplete styles.

Use ordinary creation for generated document shells and remove obsolete
per-element completion forwarding. Cover parser ownership, adoption,
duplicate completion, missing callbacks, and cancellation in tests.
2026-09-26 07:01:12 +08:00
ldm0 83e0afd1a1 fix(css): avoid reparsing incomplete inline styles
Process parser-created style sources after their closing tag or EOF, and
prepare later source changes through the stylesheet owner lifecycle.
Keep synchronization and CSSOM reads on prepared sources so CSSOM edits
survive reads and document initialization.

Complete styles in inert XML parsing and build the XML viewer through
ordinary DOM creation. Cover streaming, EOF, child documents, fragments,
and XML stylesheet behavior in regression tests.
2026-09-26 07:01:12 +08:00
Donough Liu 747559e0a1 fix(dom): synchronize element reflection targets (#764) 2026-09-23 04:44:00 +08:00
Donough Liu d637221990 fix(dom): expose live HTMLCollections on every Document (#762) 2026-09-23 04:43:47 +08:00
lanyue-llk bcf420f622 revert: undo split PR 640 merges (#734-#740) 2026-09-22 20:02:07 +08:00
mini llk e979f50c33 fix(forms): preserve live and detached named property semantics (#739) 2026-09-22 19:50:01 +08:00
ldm0 61dbf7ea3e feat(markdown): introduce moli-html2md 2026-09-16 16:07:15 +08:00
ldm0 357dda18e7 fix(editing): enforce maxlength with UTF-16 text offsets
Apply maxlength to user text insertion, preserve complete surrogate pairs,
and keep selection and replacement offsets in UTF-16 units. Cover CDP
input, execCommand insertText, and setRangeText.
Keep keyboard movement and deletion, including execCommand deletion, on
complete surrogate-pair boundaries while exposing UTF-16 offsets.

Source: 3be5eb5e37
2026-09-15 15:35:38 +08:00
ldm0 14949fd862 fix(dom): include CDATA in child text content
Extract an independently mergeable topic from wpt-misc-fix at
a70a96f9d1.

Register the child text content regression module without including later script test modules.
Include the XML document fixture route used by the CDATA regression so this branch does not depend on the separate XML input-stream changes.

Source commits:
- 7f587e1251
- ae3a3f1096

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast
2026-09-10 05:50:52 +08:00
ldm0 e194c2add8 refactor(html): centralize input type states
Extract an independently mergeable topic from wpt-misc-fix at
a70a96f9d1.

Source commits:
- 05e2cd5350

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast
2026-09-10 04:05:23 +08:00
ldm0 e47538d58f fix(html): preserve user-edited state in control clones 2026-09-05 03:50:26 +08:00
ldm0 dd24293221 perf(dom): compact singleton named candidates 2026-09-05 03:18:34 +08:00
ldm0 2c7a46352d perf(dom): compact named index strings 2026-09-05 00:51:49 +08:00
ldm0 bf82c1a10b perf(dom): share named index values 2026-09-05 00:51:49 +08:00
ldm0 516edcff62 fix(media): expose media loading error state 2026-09-04 19:28:27 +08:00
ldm0 7248dbcfe6 fix(dom): escape NBSP in HTML attributes 2026-09-03 23:07:10 +08:00
ldm0 1f6dcd5757 fix(dom): resolve scripting state per serialized node 2026-09-03 03:16:08 +08:00
ldm0 277dd67f1b refactor(dom): organize HTML serialization modules 2026-09-03 03:16:08 +08:00
ldm0 689fc8278b refactor(dom): unify HTML serialization traversal 2026-09-03 03:16:08 +08:00
ldm0 8704569963 fix(dom): serialize HTML void elements without children 2026-09-02 12:04:04 +08:00
ldm0 9953237e66 perf(parser): build fragments directly in live DOM 2026-09-01 04:31:16 +08:00
ldm0 5a6f84d1ab perf(dom): avoid materializing empty nonce state 2026-09-01 03:25:06 +08:00
ldm0 8eab95a494 fix(renderer): align legacy named access collections 2026-08-30 06:09:07 +08:00
ldm0 39d474864b fix(domparser): preserve adopted XML serialization 2026-08-28 19:44:41 +08:00
ldm0 ad4aa5a43f fix(dom): serialize namespaced HTML attributes 2026-08-27 12:37:10 +08:00
ldm0 eb829a980b Separate single and penetrating hit tests 2026-08-27 02:03:32 +08:00
ldm0 66fd71f482 fix(svg): load image href resources 2026-08-26 04:31:25 +08:00
ldm0 e37ecb245c fix(svg): expose geometry element interfaces 2026-08-26 04:31:25 +08:00
ldm0 2e01ea4408 fix(style): invalidate documents when moving shadow trees 2026-08-24 20:28:06 +08:00
ldm0 79a1bca120 refactor(style): retain incremental document style worlds 2026-08-24 18:56:48 +08:00
ldm0 0d1b885eb0 build(deps): align html parser stack on 0.39 2026-08-17 01:26:26 +08:00
ldm0 8dffc69a89 Persist hover state for Stylo selectors 2026-08-14 01:07:13 +08:00
ldm0 f2a2095751 fix(navigation): stabilize sequential CDP lifecycle 2026-08-13 07:07:00 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00