Dukkan sigogi v0.1.3415 Oct 2026Zane shafi, APIs na yanar gizo da DOM Feed

An rubuta bayanan sabuntawa da Turanci.

Canvas text measured and drawn like the reference browser, and SVG shapes you can measure

Charts drawn on a canvas size their labels with measureText, and Floati answered with a rough guess of half a character's height per letter. It now measures with the same fonts it paints with, so widths match the reference browser to the hundredth of a pixel, and bold and italic canvas text really is bold and italic. SVG gains its geometry: bounding boxes, transform matrices, path lengths, points along a path and hit tests, checked on 1,740 generated cases every build.

equal to the reference browserText widths
16 / 17 + 1 exactChecks vs the reference browser
Muhimman abubuwa2

Canvas charts that fit their labels

KafinBayan
Kafin: a canvas bar chart sized with measureText
Kafin
Bayan: a canvas bar chart sized with measureText
Bayan · v0.1.341
Shafin guda a burauzar misali
Burauzar misali

This is a canvas chart laid out the way Chart.js and most canvas chart kits do it: each value badge is sized to its text with measureText, and the title and badges are bold. Floati guessed text widths and drew bold text in the regular face, so badges came out the wrong size and nothing was bold. It now measures and draws with the real faces, bold and italic included, and matches the reference browser.

a canvas bar chart sized with measureText

Text widthsequal to the reference browserBold, italicreal faces

SVG shapes you can measure

1,740generated geometry cases checked every build

Diagram editors, map widgets and animated line drawings ask SVG where things are: a shape's bounding box, the matrix that places it on screen, how long a path is and where a point along it falls. These now all work, matching the reference browser on 16 of 17 checks. On the 17th Floati is more exact than the reference browser: the reference browser measures circles and arcs with a coarse approximation and reads a circle of radius 10 as 62.43 long instead of 2 pi r, 62.83.

Checks vs the reference browser16 / 17 + 1 exactBroken versions caught2 of 2

Abin da ya canza

canje-canje 6
  1. Zane shafiCanvas measureText measures with the fonts the canvas draws with: widths, the font's ascent and descent, and the ink box of the text match the reference browser to the hundredth of a pixel. It used to guess half a character height per letter, so charts sized and centred their labels around widths up to a fifth off. Measuring learns nothing about your computer: font names resolve through Floati's fixed table, never through the fonts you have installed.
  2. Zane shafiCanvas text honours font weight and style: bold and italic labels use the bold and italic faces, both when measured and when drawn. SVG text honours font-weight and font-style too.
  3. Zane shafiThe canvas font setting reads the whole CSS font shorthand: sizes in px, pt, em, rem and percent, weight and style keywords, and a line height.
  4. APIs na yanar gizo da DOMSVG geometry arrives: getBBox (tight around curves and arcs, and around a group's transformed children), getCTM and getScreenCTM through nested transforms and view boxes, nearestViewportElement, farthestViewportElement and ownerSVGElement, getTotalLength and getPointAtLength, and isPointInFill and isPointInStroke. 16 of 17 checks match the reference browser; on the 17th Floati measures arcs exactly where the reference browser approximates them.
  5. Zane shafiProven on every build: 1,740 generated shapes and paths check exact perimeters, that a path written with relative commands measures the same as written absolute, that every point along a path stays inside its box and the path reaches all four sides, and that each matrix is the product of its transforms. Two deliberately broken versions were each caught.
  6. APIs na yanar gizo da DOMPages that animate along a path call getPointAtLength on every frame: the outline of each shape is worked out once and reused until its attributes change.

Gwada a burauzarka

Kowane gwaji yana gudana kai tsaye a burauzar da kake karantawa. Ba a aika komai ko’ina ba.

DubaBurauzarkaFloati
Canvas measureText uses the real font (bold is wider than regular)Ana dubawaEe
SVG bounding boxes (getBBox)Ana dubawaEe
SVG path lengths (getTotalLength)Ana dubawaEe
Points along a path (getPointAtLength)Ana dubawaEe
SVG transform matrices (getCTM)Ana dubawaEe
SVG hit testing (isPointInFill)Ana dubawaEe
Sun wuce 6 / 6
Duk tun v0.1.341 a wuri ɗaya

Sigogi

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

November2026 · siga 1

October2026 · sigogi 7

September2026 · sigogi 3

August2026 · sigogi 18

14614 AugWebAssembly modules can call JavaScriptv0.1.146 · Zane shafi 14414 AugExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript da JIT 13514 AugDevTools automation: the methods a real driver reaches forv0.1.135 · APIs na yanar gizo da DOM 12413 AugPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Zane shafi 12213 AugTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AugTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Shafuka da fuska 12013 AugDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AugDevTools: a Sources panel with a clickable line gutterv0.1.119 · Shafuka da fuska 11811 AugDevTools debugger: step over, into and outv0.1.118 · JavaScript da JIT 1177 AugDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AugDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AugDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AugDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AugVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Shafuka da fuska 1127 AugDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AugThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AugThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AugOne press, and you are on the new versionv0.1.70 · Shafuka da fuska

July2026 · sigogi 3