所有版本 v0.1.3425 十月 2026渲染, JavaScript 与 JIT, Web API 与 DOM 订阅

版本说明以英文撰写。

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
亮点2

Theme switchers that switch

之前之后
之前: a linked dark theme disabled and a linked sheet edited from script
之前
之后: a linked dark theme disabled and a linked sheet edited from script
之后 · v0.1.342
同一页面在参考浏览器中的样子
参考浏览器

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

之前之后
之前: an SVG bar chart whose labels are sized by a CSS rule
之前
之后: an SVG bar chart whose labels are sized by a CSS rule
之后 · v0.1.342
同一页面在参考浏览器中的样子
参考浏览器

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

改动内容

8 项改动
  1. Web API 与 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. Web API 与 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. Web API 与 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. 渲染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. Web API 与 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. 渲染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 与 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 与 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.

在你的浏览器中试试

每项检查都在你正在阅读的浏览器中实时运行。不会发送任何内容。

检查你的浏览器Floati
Canvas getTransform follows translate and scale检查中是
Object.assign onto a new element检查中是
defineProperty getters on an element检查中是
SVG font-size attribute in the computed style检查中是
SVG text length (getComputedTextLength)检查中是
Hit tests answer false for shapes not on the page检查中是
通过 6 / 6
v0.1.342 之后的所有内容,集中在一处

版本

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

十一月2026 · 3 个版本

十月2026 · 7 个版本

九月2026 · 14 个版本

32026 九月Pages no longer freeze while a script waits on the networkv0.1.320 · JavaScript 与 JIT 31725 九月Closer to the reference browser, and no more address bar tricksv0.1.317 · Web API 与 DOM 30924 九月Pages arrive like they do in the reference browser, in a fraction of the memoryv0.1.309 · 网络13 30322 九月HTTP/3 is on, and it is ours: the fastest web protocol, built from scratchv0.1.303 · 网络 30222 九月The site you open stays your business, and the browser checks every certificate itselfv0.1.302 · 隐私与 Shields 30019 九月Reads the newest web compression, reuses secure connections, and remembers where sites livev0.1.300 · 记忆与阅读 29919 九月Pages start loading sooner: smarter connections and a faster path onto slow networksv0.1.299 · 网络 29516 九月Class-based JavaScript runs dramatically faster: calling a method through a list of objects is now many times quickerv0.1.295 · JavaScript 与 JIT 29416 九月Integer, bitwise and pixel-processing JavaScript runs a lot faster, and the browser still proves every shortcut before it trusts itv0.1.294 · JavaScript 与 JIT 29316 九月Class-based and object-heavy JavaScript runs dramatically faster, with speed the browser proves before it trustsv0.1.293 · JavaScript 与 JIT 29216 九月Recursive JavaScript runs dramatically faster, so the heaviest in-page computation feels quickv0.1.292 · JavaScript 与 JIT 27811 九月A tracker can no longer follow you from one site to the nextv0.1.278 · 渲染 27610 九月Security you can check: an honest ledger, a referrer firewall, and mixed content shut downv0.1.276 · 隐私与 Shields 2122 九月Pages you render with Floati's own engine appear right away nowv0.1.212 · 渲染

八月2026 · 14 个版本

七月2026 · 4 个版本