Browser updates of the week
โ† Go back

Browser updates of the week

Firefox 161 ships CSS random(), command/commandfor attributes, and URLPattern, while Chrome 158 adds the :heading pseudo-class, hanging-punctuation, and popover="hint".

๐Ÿ‘ฉโ€๐Ÿ’ป Firefox 161

The latest Firefox 161 release brings the native CSS random() function (with value caching and the per-element option), expands custom property support in selectors via attr(), and introduces the command event along with command / commandfor attributes for declaratively controlling interactive elements without JavaScript. On the Web API side, the release adds the URLPattern constructor for routing and asynchronous clipboard reading via Clipboard.read(), while DevTools updates the grid inspector with subgrid line visualization.

Learn more (opens in new tab)

๐Ÿ‘ฉโ€๐Ÿ’ป Chrome 158

Chrome 158 adds the :heading and functional :heading(...) CSS pseudo-classes for styling headings of any level, alongside hanging-punctuation support for refined typography. For forms and the DOM, it introduces HTMLFormElement.requestSubmit() with custom submitter support and extends the Popover API with hover-triggered hints via popover="hint". On the performance and security fronts, Speculation Rules has been updated to support preloading cross-origin navigations, and strict Cross-Origin-Embedder-Policy header enforcement is now enabled for workers.

Learn more (opens in new tab)

Copied