Behavior changes
- Screenshots now use the layout engine:
Page.captureScreenshot, BiDi screenshots andfetch --dump pngdraw boxes wheregetBoundingClientRectputs them.--png-mode readergives the old one-column text rendering. The agent's/screenshotkeepsreaderby default (mode=to change it). PDF is alwaysreader. Page.getLayoutMetricsnow comes from the layout engine, and the root container is as wide as the viewport instead of a fixed 1920px.- CORS: a
*inAccess-Control-Allow-Headersnow coversAuthorization, as every browser does. - A response with no declared charset that is clearly not UTF-8 is decoded as windows-1252.
- CDP:
DOM,CSS,AccessibilityandInputcommands (other thanenable/disable) now fail on the startup placeholder target.
Serve / CLI
--cdp-allow-timezone-override: letsEmulation.setTimezoneOverridechange the time zone used byDateandIntl. The zone is shared by the whole process. Without the flag, the command is accepted and ignored with a warning--png-mode layout|readerforfetch --dump pngagent --temperature <FLOAT>
Layout
- Padding and
box-sizing - Margins move boxes horizontally;
margin: 0 autocenters,margin-left: autopushes right gap,row-gapandcolumn-gapin flex layouts; text between flex items counts as an itembottomsizes a fixed or absolute box- Every
z-indexvalue is used for hit testing htmlandbodytake their declared height (height: 100%);canvasandvideowithout a size are 300×150- Every
displayvalue is tracked, for layout andgetComputedStyle
New Web APIs
navigator.clipboard.readText()andwriteText()(a per-session buffer, never the system clipboard; secure contexts only)HTMLMediaElementtimeline:duration, acurrentTimethat advances while playing, seeking,ended,loopand the matching events (nothing is decoded or played)ReadableStreamDefaultReader.closedOffscreenCanvasis anEventTarget(Flutter web apps now start)
Web API behavior / fixes
- CSS rules inside an
@supportsblock are applied when the condition holds - Streams:
pull()waits forstart()and for its own previous call, and runs again when a read waits (fixes Next.js 16 prefetch streams);cancel()handles a returned promise, and bothtee()branches share one cancel promise - XML parsing keeps namespace declarations (
xmlns,xmlns:b) and createsCDATASectionnodes
CDP
Emulation.setTimezoneOverrideapplies the zone (with--cdp-allow-timezone-override) and rejects unknown zone idsLP.detectFormsincludeValidationoption: returns each field's validation message
BiDi
script.addPreloadScriptscript.getRealmsbrowsingContext.captureScreenshotbrowsingContext.handleUserPrompt, and a newlp.handleUserPrompt, like CDP'sLP.handleJavaScriptDialog
Tools / MCP
detectFormsincludeValidationoption: returns each field's validation message, so an agent can read why a form was rejected
Performance / memory
- Startup no longer loads every CA certificate twice (about 30% of a simple
fetch) - Semantic tree dumps register far fewer nodes (HTML spec: 672k → 314k)
getBoundingClientRectand otherDOMRectreturns skip the identity map- Less memory for the identity map, cloned attributes, inline scripts, selectors, node lists and PNG rendering (drawn 128 rows at a time)
- Faster style matching: better
:where()bucketing, an ancestor bloom filter, and selectors that can never match are dropped - A class change that can't move a box no longer clears the layout cache