همه نسخه‌ها v0.1.35311 اکتبر 2026نمایش صفحه خوراک

یادداشت‌های انتشار به انگلیسی نوشته شده‌اند.

Style matching tries a third of the rules, queries prepare their selector once, sibling walks stay fast

Pages restyle and query themselves faster, and old pages without a doctype now style correctly. Style matching tries about a third of the rules it used to, because rules written for the page root, for an attribute, or wrapped in :where() and :is() go straight to the elements they can match. querySelector, matches and closest prepare a selector once instead of again for every element they test, walking a long list with nextSibling no longer slows down as the list grows, and reading an element's parent, children, siblings, name, id or class skips the full member lookup. In pages without a doctype, class and id selectors ignore letter case, as they do in the reference browser.

3.0 M -> 1.0 MRules tried per full restyle, code-hosting page
61 -> 11 msquerySelector over 2,800 elements, 300 times
14.6 -> 0.8 msWalking a 5,000-item list four times
نکته‌های برجسته3

Style matching tries a third of the rules

To style an element the engine only tries the rules whose last part could match it: rules for its tag, its classes or its id. A rule whose last part had none of those was tried against every element on the page. A code-hosting page has over a thousand such rules - hundreds of theme blocks written for the page root, rules keyed on an attribute such as a colour mode, and design-system rules wrapped in :where() - so every full restyle tried three million rules to make twenty-six thousand matches. Rules for the page root now go to the root element only, attribute rules to elements carrying that attribute, and :where(.x) and :is(.x) rules to elements with class x. The matcher still decides every match; it is simply asked a third as often.

Rules tried per full restyle, code-hosting page3.0 M -> 1.0 MRules reaching the full matcher1.2 M -> 0.29 MStyle time on that page830 -> ~620 ms

Queries prepare their selector once

querySelectorAll already prepared its selector once for the whole search. querySelector, matches and closest split the selector list and read every part again for each element they tested. All four now share one prepared form, kept for the next call with the same selector, with simple selectors such as a class or a tag compared directly.

querySelector over 2,800 elements, 300 times61 -> 11 msA selector with a combinator155 -> 17 ms (reference 13.5)closest, 20,000 calls19.5 -> 7 ms

Walking siblings stays fast on long lists

nextSibling and previousSibling found an element's position by scanning its parent's children on every read, so walking a list of n items cost n times n steps. The position of the last answer is now remembered and checked first, so each step of a walk is one comparison. The most read node links and names - parent, children, siblings, nodeName, tagName, id and className - are also answered directly from the document instead of through the full member lookup, and every such answer can be checked against the full lookup with a switch.

Walking a 5,000-item list four times14.6 -> 0.8 ms

چه چیزی تغییر کرد

5 تغییر
  1. نمایش صفحهRules for the page root, rules keyed on an attribute, and :where(.x) / :is(.x) rules are only tried on elements they can match; a code-hosting page tries 1.0 M rules per full restyle instead of 3.0 M and spends about a quarter less time on style.
  2. نمایش صفحهquerySelector, matches and closest prepare their selector once and keep it for the next call: querySelector 61 -> 11 ms in a test page, closest 19.5 -> 7 ms.
  3. نمایش صفحهWalking siblings with nextSibling / previousSibling is one step per node instead of a scan of the parent's children; a 5,000-item list walks in 0.8 ms instead of 14.6.
  4. نمایش صفحهparentNode, firstChild, siblings, nodeName, tagName, id and className are read straight from the document.
  5. نمایش صفحهIn pages without a doctype, class and id selectors match without regard to letter case, in style sheets and in queries, as in the reference browser.

در مرورگر خودتان امتحان کنید

هر آزمون همین حالا در مرورگری که با آن می‌خوانید اجرا می‌شود. چیزی به جایی فرستاده نمی‌شود.

بررسیمرورگر شماFloati
querySelector finds the first match of a listدر حال بررسیبله
closest walks up through a selector listدر حال بررسیبله
A nextSibling walk visits every node onceدر حال بررسیبله
:root rules style the root elementدر حال بررسیبله
Attribute rules style only elements carrying itدر حال بررسیبله
:where(.x) rules style .x elementsدر حال بررسیبله
Standards-mode class names keep their caseدر حال بررسیبله
قبول 7 / 7
همه چیز از v0.1.353 به بعد در یک جا

نسخه‌ها

v0.1.0 - 0.1.9 · 10 ژوئیه 2026418v0.1.427 · 25 نوامبر 2026

اکتبر2026 · 33 نسخه

37121 اکتبرDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · APIهای وب و DOM · امتحان کنید 37021 اکتبرOpen your files, share to your phone, have pages read aloud, install sites as apps, play with a controller, and accented text drawn rightv0.1.370 · حریم خصوصی و Shields · امتحان کنید11 36920 اکتبرPasskeys with Touch ID and Windows Hello, sites that work offline, notifications you allow, and devices asked for first, all kept on your devicev0.1.369 · حریم خصوصی و Shields · امتحان کنید9 36820 اکتبرA site's own security rules are kept the whole time the page runs, Trusted Types, a map of every unsafe write in DevTools, and animations from scriptv0.1.368 · حریم خصوصی و Shields · امتحان کنید 36720 اکتبرEvents, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · APIهای وب و DOM · امتحان کنید10 36619 اکتبرEvents, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · APIهای وب و DOM · امتحان کنید9 36519 اکتبرThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript و JIT · امتحان کنید 36419 اکتبرCompiled code that fits the processor's caches: big pages up to 1.8 times faster, and fast compiled code on Windows and Intel machinesv0.1.364 · JavaScript و JIT · امتحان کنید 36319 اکتبرThermal runs on one code generator, building strings is up to 8 times faster, and two slow paths that grew with the square of their input are linearv0.1.363 · JavaScript و JIT · امتحان کنید12 36219 اکتبرA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · نمایش صفحه · امتحان کنید 36118 اکتبرThermal runs on Windows and Intel machines, a register fix for compiled code on Windows, try / catch compiles, and reading a growing string is 200 times fasterv0.1.361 · JavaScript و JIT · امتحان کنید 36018 اکتبرEvery byte of machine code is Floati's own, a news site that showed blank renders, Gust's code is half the size, and closures and ?? compilev0.1.360 · JavaScript و JIT · امتحان کنید9 35916 اکتبرThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript و JIT · امتحان کنید 35816 اکتبرThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript و JIT · امتحان کنید 35715 اکتبرLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript و JIT · امتحان کنید14 35614 اکتبرRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript و JIT · امتحان کنید 35514 اکتبرA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript و JIT · امتحان کنید 35413 اکتبرFloati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript و JIT · امتحان کنید 35311 اکتبرStyle matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · نمایش صفحه · امتحان کنید 35211 اکتبرCode that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · نمایش صفحه · امتحان کنید10 35111 اکتبرStyles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript و JIT · امتحان کنید12 35010 اکتبرHelpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript و JIT · امتحان کنید14 34910 اکتبرScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · نمایش صفحه · امتحان کنید13 3489 اکتبرScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · نمایش صفحه · امتحان کنید14 3478 اکتبرCards inside links, small print at its real size, and errors you can followv0.1.347 · نمایش صفحه · امتحان کنید17 3467 اکتبرA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · نمایش صفحه · امتحان کنید14 3457 اکتبرReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · نمایش صفحه · امتحان کنید10 3436 اکتبرSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · حریم خصوصی و Shields · امتحان کنید25 3425 اکتبرTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · APIهای وب و DOM · امتحان کنید 3415 اکتبرCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · نمایش صفحه · امتحان کنید 3405 اکتبرScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · نمایش صفحه · امتحان کنید10 3395 اکتبرEvery computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · APIهای وب و DOM · امتحان کنید12 3385 اکتبرPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · APIهای وب و DOM · امتحان کنید19