Tất cả phiên bản v0.1.3425 Tháng 10 2026Hiển thị, JavaScript và JIT, API web và DOM Feed

Ghi chú phát hành được viết bằng tiếng Anh.

Theme switchers, chart labels sized by CSS, and SVG text you can measure

Sites that switch themes by turning a linked stylesheet off, or add a rule to it from script, now restyle the page; Floati ignored both. SVG text takes its size and font from the page's CSS, as every chart library expects. SVG text answers where each character is, canvas text is kerned like the reference browser's, the canvas reports its transform, and Object.assign and defineProperty finally work on page elements.

3 of 3Edits honoured
from the CSS ruleLabel size
Điểm nổi bật2

Theme switchers that switch

TrướcSau
Trước: a linked dark theme disabled and a linked sheet edited from script
Trước
Sau: a linked dark theme disabled and a linked sheet edited from script
Sau · v0.1.342
Cùng trang đó trên trình duyệt tham chiếu
Trình duyệt tham chiếu

This page turns its dark stylesheet off from script, adds a highlight rule to its main stylesheet and recolours the card titles through CSSOM, the way theme toggles and design tools do it. Floati changed the stylesheet objects but kept painting the stylesheets as they were downloaded, so all three edits did nothing. The edited and disabled sheets now restyle the page and what scripts measure, and the result matches the reference browser.

a linked dark theme disabled and a linked sheet edited from script

Edits honoured3 of 3Computed stylesequal to the reference browser

Chart labels sized by the page's CSS

TrướcSau
Trước: an SVG bar chart whose labels are sized by a CSS rule
Trước
Sau: an SVG bar chart whose labels are sized by a CSS rule
Sau · v0.1.342
Cùng trang đó trên trình duyệt tham chiếu
Trình duyệt tham chiếu

Chart pages size their SVG labels in the stylesheet, with a rule like text { font: 11px sans-serif }. Floati ignored page CSS on SVG text and drew every label at the 16px default, half again too big. SVG text now takes its size, family, weight and anchor from the page's CSS, with font-size and the other presentation attributes underneath it as the SVG standard says, and the labels match the reference browser.

an SVG bar chart whose labels are sized by a CSS rule

Label sizefrom the CSS rulegetComputedStyleequal to the reference browser

Những gì đã thay đổi

8 thay đổi
  1. API web và DOMEditing a linked stylesheet from script restyles the page: rules added with insertRule, removed with deleteRule or changed through a rule's style, and a sheet turned off with disabled, which is how most theme toggles work. Before, the stylesheet objects changed but the page kept its downloaded styles. Both what is painted and what getComputedStyle reports now follow the edits, and turning the sheet back on restores it.
  2. API web và DOMSVG presentation attributes (font-size, fill, stroke, font-family, text-anchor and the rest) are now the lowest-priority author styles, as SVG 2 defines them: they show in getComputedStyle (a unitless font-size as pixels) and any page rule overrides them. SVG text is drawn at the size, family, weight and anchor the page's CSS gives it.
  3. API web và DOMSVG text geometry: getBBox of text, getComputedTextLength, getSubStringLength, getNumberOfChars, getStartPositionOfChar, getEndPositionOfChar, getExtentOfChar, getCharNumAtPosition, getRotationOfChar and selectSubString. They measure with the faces the text is painted with and follow x, y, dx, dy on tspans and text-anchor. 14 of 15 checks match the reference browser; the fifteenth needs bold faces loaded the way a page load does.
  4. Hiển thịCanvas text is kerned: measureText and fillText add the font's pair kerning, as HTML text already did. The reference browser measures "office" in Arial at 37.95px because Arial kerns its "ff" pair; Floati now gives the same, so labels centred by measured width line up.
  5. API web và DOMCanvas getTransform returns the real current matrix after translate, scale, rotate, transform, setTransform and resetTransform, and it is saved and restored with save and restore. setTransform also accepts a DOMMatrix. 14 of 14 checks match the reference browser.
  6. Hiển thịThe reference browser parity for SVG that is not drawn: a shape or text outside the document, or inside display: none (set in CSS or with the display attribute), gives an empty bounding box and no characters, isPointInFill and isPointInStroke answer false, and getTotalLength throws as the reference browser does. 16 of 16 checks match.
  7. JavaScript và JITObject.assign and Reflect.set onto page elements set real properties: Object.assign(document.createElement('pre'), { id, textContent }) used to give an empty element with no id, and assigning into an element's style or dataset was dropped.
  8. JavaScript và JITObject.defineProperty on a page element works: getters and setters run whether the property is read as el.x or el['x'], getOwnPropertyDescriptor and hasOwnProperty report them, and enumerable ones appear in Object.keys and Object.entries. It used to be ignored, so libraries that define properties on nodes read back undefined. 14 of 14 checks match the reference browser.

Thử trong trình duyệt của bạn

Mỗi phép kiểm tra chạy trực tiếp trong trình duyệt bạn đang đọc. Không có gì được gửi đi đâu cả.

Kiểm traTrình duyệt của bạnFloati
Canvas getTransform follows translate and scaleĐang kiểm traCó
Object.assign onto a new elementĐang kiểm traCó
defineProperty getters on an elementĐang kiểm traCó
SVG font-size attribute in the computed styleĐang kiểm traCó
SVG text length (getComputedTextLength)Đang kiểm traCó
Hit tests answer false for shapes not on the pageĐang kiểm traCó
Đạt 6 / 6
Mọi thứ kể từ v0.1.342 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026

Tháng 112026 · 1 phiên bản

Tháng 102026 · 7 phiên bản

Tháng 92026 · 3 phiên bản

Tháng 82026 · 18 phiên bản

14614 Tháng 8WebAssembly modules can call JavaScriptv0.1.146 · Hiển thị 14414 Tháng 8Exact tiling: percentage columns never leave a seamv0.1.144 · JavaScript và JIT 13514 Tháng 8DevTools automation: the methods a real driver reaches forv0.1.135 · API web và DOM 12413 Tháng 8Puppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Hiển thị 12213 Tháng 8Time-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 Tháng 8Time-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Thẻ và giao diện 12013 Tháng 8DevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 Tháng 8DevTools: a Sources panel with a clickable line gutterv0.1.119 · Thẻ và giao diện 11811 Tháng 8DevTools debugger: step over, into and outv0.1.118 · JavaScript và JIT 1177 Tháng 8DevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 Tháng 8DevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 Tháng 8DevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 Tháng 8DevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 Tháng 8Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Thẻ và giao diện 1127 Tháng 8DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 Tháng 8The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 Tháng 8The engine speaks the DevTools Protocolv0.1.98 · DevTools 704 Tháng 8One press, and you are on the new versionv0.1.70 · Thẻ và giao diện

Tháng 72026 · 3 phiên bản