همه نسخه‌ها v0.1.3425 اکتبر 2026نمایش صفحه, JavaScript و JIT, 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. 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. 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. 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. 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