Alle versies v0.1.35311 Okt 2026Weergave Feed

De release-opmerkingen zijn in het Engels geschreven.

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
Hoogtepunten3

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

Wat er veranderd is

5 wijzigingen
  1. WeergaveRules 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. WeergavequerySelector, 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. WeergaveWalking 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. WeergaveparentNode, firstChild, siblings, nodeName, tagName, id and className are read straight from the document.
  5. WeergaveIn 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.

Probeer in je browser

Elke test draait live in de browser waarmee je leest. Er wordt niets verstuurd.

ControleerJouw browserFloati
querySelector finds the first match of a listBezig met controlerenJa
closest walks up through a selector listBezig met controlerenJa
A nextSibling walk visits every node onceBezig met controlerenJa
:root rules style the root elementBezig met controlerenJa
Attribute rules style only elements carrying itBezig met controlerenJa
:where(.x) rules style .x elementsBezig met controlerenJa
Standards-mode class names keep their caseBezig met controlerenJa
Geslaagd 7 / 7
Alles sinds v0.1.353 op één plek

Versies

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

november2026 · 4 versies

oktober2026 · 7 versies

september2026 · 10 versies

augustus2026 · 26 versies

18218 AugNow it also spots the audio version of that tracking trickv0.1.182 · Privacy en Shields 17918 AugLonger videos now play all the way throughv0.1.179 · Media 17518 AugThe browser you install now plays video, built entirely from its own codev0.1.175 · Media 17218 AugSplit-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Media 17116 AugThe engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Media 16916 AugDecoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Media 16816 AugThe engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Media 16715 AugMore real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Media 16615 AugWebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Media 16115 AugGPU 3D transforms: every container renders on the devicev0.1.161 · Weergave 16015 AugGPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Web-API’s en DOM 13113 AugBrotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Weergave 12913 AugVP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Media 12513 AugfMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Media 1117 AugWeb Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Media 1107 AugWeb Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Media 1097 AugWeb Audio convolution reverb + stereo sample playbackv0.1.109 · Media 1087 AugStereo Web Audio: real panning and per-channel routingv0.1.108 · Media 1057 AugHTTP/2: the modern web transport, from scratchv0.1.105 · Media 1027 AugModern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript en JIT 976 AugReal captionsv0.1.97 · Weergave 966 AugStateful audio DSP: filters, delay and waveshapingv0.1.96 · Media 956 AugReal, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Media 866 AugReal cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Weergave 815 AugBuilding an object stopped re-allocating its keysv0.1.81 · JavaScript en JIT 661 AugThe worst score on the board turned out to be a cookie bannerv0.1.66 · Weergave9

juli2026 · 10 versies