← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Servo 0.4.0 Released with New Web Platform Features and DOM APIs

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Servo 0.4.0 includes 558 commits from June.
  • New web platform features like 'attr()' and 'image(<color>)' were added.
  • Expanded media query support for device characteristics and interaction methods.
  • New DOM APIs include SharedWorker, console.dir(), and CustomElementRegistry updates.

Servo 0.4.0 Release Overview

Servo 0.4.0 has been released, integrating all changes made during June. This version includes a total of 558 commits, marking an increase in development activity compared to previous months.

New Web Platform Features

The update introduces several new web platform features. These include the 'attr()' function in experimental mode, 'image(<color>)', 'closest-corner', and 'farthest-corner' within 'ellipse()' and 'circle()'. Additionally, 'calc()' and other mathematical expressions can now be resolved later than parse time, and 'font-feature-settings' is supported in '@font-face'.

Expanded Media Query Support

Servo 0.4.0 significantly expands support for media queries. New additions include '@media (device-width)', '@media (device-height)', '@media (height)', '@media (aspect-ratio)', and their min- and max- variants. Support for '@media (orientation)', '@media (pointer)', '@media (any-pointer)', '@media (hover)', and '@media (any-hover)' has also been added.

New DOM APIs

Several new DOM APIs are part of this release. These include SharedWorker, console.dir(), and updates to CustomElementRegistry, such as customElementRegistry on Document and ShadowRoot, initialize() on CustomElementRegistry, and new CustomElementRegistry(). Other additions are textStream() on Request, Response, and Blob, setPointerCapture(), releasePointerCapture(), hasPointerCapture() on Element, and touch event handlers on Element. Cryptographic updates include crypto.subtle.digest() for KT128 and KT256, and crypto.subtle.getPublicKey() for ML-KEM and ML-DSA.

Development Trajectory

The project continues to grow, with the number of commits increasing steadily each month since September 2023. This indicates ongoing development and expansion of Servo's capabilities.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Servo 0.4.0 has been released, incorporating 558 commits from June, which include new web platform features like 'attr()', 'image(<color>)', and various media queries, alongside new DOM APIs such as SharedWorker and console.dir(). This update expands Servo's web compatibility and functionality for developers.