Tüm sürümler v0.1.3425 Eki 2026Görüntü oluşturma, JavaScript ve JIT, Web API’leri ve DOM Akış

Sürüm notları İngilizce yazılmıştır.

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
Öne çıkanlar2

Theme switchers that switch

ÖnceSonra
Önce: a linked dark theme disabled and a linked sheet edited from script
Önce
Sonra: a linked dark theme disabled and a linked sheet edited from script
Sonra · v0.1.342
Referans tarayıcıda aynı sayfa
Referans tarayıcı

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

ÖnceSonra
Önce: an SVG bar chart whose labels are sized by a CSS rule
Önce
Sonra: an SVG bar chart whose labels are sized by a CSS rule
Sonra · v0.1.342
Referans tarayıcıda aynı sayfa
Referans tarayıcı

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

Neler değişti

8 değişiklik
  1. Web API’leri ve 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’leri ve 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’leri ve 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. Görüntü oluşturmaCanvas 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’leri ve 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. Görüntü oluşturmaThe 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 ve 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 ve 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.

Tarayıcınızda deneyin

Her denetim, okuduğunuz tarayıcıda canlı çalışır. Hiçbir yere bir şey gönderilmez.

Kontrol etTarayıcınızFloati
Canvas getTransform follows translate and scaleDenetleniyorEvet
Object.assign onto a new elementDenetleniyorEvet
defineProperty getters on an elementDenetleniyorEvet
SVG font-size attribute in the computed styleDenetleniyorEvet
SVG text length (getComputedTextLength)DenetleniyorEvet
Hit tests answer false for shapes not on the pageDenetleniyorEvet
Geçti 6 / 6
v0.1.342 sürümünden bu yana her şey tek yerde

Sürümler

v0.1.0 - 0.1.9 · 10 Tem 2026418v0.1.427 · 25 Kas 2026