所有版本 v0.1.13514 八月 2026渲染, Web API 与 DOM, 开发者工具 订阅

版本说明以英文撰写。

DevTools automation: the methods a real driver reaches for

Automation tools and remote inspectors drive a browser over the standard DevTools protocol, and a few of its most-used methods were missing - enough that a driver could connect and query but not fully act. This release fills them in, over the engine's real DOM and layout: querySelectorAll returns every match as a node handle (the backing for a page's $$); getBoxModel and getContentQuads report an element's real on-screen box, which is exactly what a driver reads to compute where to click; focus and scrollIntoViewIfNeeded act on the live element; and getMatchedStylesForNode returns an element's parsed inline style. Each is exercised against the real engine in tests - a three-match querySelectorAll, a box model with a real content quad, a focus that moves the active element, and an inline style parsed to its properties. DevTools moves 42 to 45 and overall 54 to 55.

改动内容

3 项改动
  1. Web API 与 DOMDOM automation methods (the CDP layer, over the real DOM): DOM.querySelectorAll (all matches as node handles), DOM.getBoxModel and DOM.getContentQuads (an element's real layout box, from getBoundingClientRect - what a driver reads to place a click), DOM.focus and DOM.scrollIntoViewIfNeeded (acting on the live element).
  2. 渲染CSS.getMatchedStylesForNode: an element's inline style parsed into the protocol's property shape (author-rule matching against the cascade is a later step; the inline block is what tooling reads first and it is real).
  3. Web API 与 DOMEach new method is tested against the engine's own DOM and layout - querySelectorAll finds three of three, getBoxModel returns an eight-value content quad with real width and height, focus moves document.activeElement, and the inline style parses to its properties. Whole conformance suite unchanged.
v0.1.135 之后的所有内容,集中在一处

版本

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