所有版本 v0.1.805 八月 2026Web API 与 DOM, 标签页与界面 订阅

版本说明以英文撰写。

The page can ask what is under a point

This release fills in hit-testing - asking which element sits under a given point on the page. `document.elementFromPoint(x, y)` and `elementsFromPoint(x, y)` were missing entirely, so drag-and-drop, tooltips, and custom controls that work out what you are pointing at hit a wall. They now answer for real, computed over the actual laid-out page: the first returns the topmost element at the point, the second the whole stack from top to bottom, a point over empty space resolves to the root as it does in every browser, and a point outside the window returns nothing - matching the reference browser on each case tested. Alongside it, three interface types are now present so the code that type-checks them stops throwing: MutationRecord (what a MutationObserver hands you), CustomElementRegistry, and IdleDeadline - all three back features the engine already runs. The engine gate holds at 6375 of 6375.

改动内容

3 项改动
  1. 标签页与界面New: `document.elementFromPoint(x, y)` and `elementsFromPoint(x, y)` - real hit-testing over the laid-out page. The first returns the topmost element at the point, the second the full top-to-bottom stack; a point over empty space resolves to the root <html> and a point outside the window returns null, matching the reference browser. Drag-and-drop, tooltips and custom controls use these.
  2. Web API 与 DOMFixed: MutationRecord, CustomElementRegistry and IdleDeadline are now present as interface types, so code that type-checks the value a MutationObserver / customElements / requestIdleCallback hands back (all of which already work) no longer throws a ReferenceError inside the check.
  3. Web API 与 DOMBoth were verified against the reference browser case by case and pinned with a new hit-testing regression test; the engine gate holds at 6375 of 6375 and the Web API surface climbs to 493 of 577.
v0.1.80 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026