---
title: "June in Servo: real world compat, media queries, SharedWorker, and more!"
description: "Servo 0.4.0 bundles a record 558 June commits, adding CSS features like experimental attr(), deferred calc() resolution and many media queries (device-width, aspect-ratio, pointer, hover), plus DOM APIs including SharedWorker, CustomElementRegistry constructors and new SubtleCrypto algorithms."
url: "https://swe.quest/articles/june-in-servo-real-world-compat-media-queries-sharedworker-and-more-1468876aa282b7ab"
canonical: "https://servo.org/blog/2026/07/31/june-in-servo/"
source: "Servo"
published: "2026-07-31"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["browsers","rust","memory-management","performance"]
---

# June in Servo: real world compat, media queries, SharedWorker, and more!

A post on [Servo](https://swe.quest/sources/servo.md), published 2026-07-31, 11 min read, Release. Original: [https://servo.org/blog/2026/07/31/june-in-servo/](https://servo.org/blog/2026/07/31/june-in-servo/)

## Summary

Servo 0.4.0 bundles a record 558 June commits, adding CSS features like experimental attr(), deferred calc() resolution and many media queries (device-width, aspect-ratio, pointer, hover), plus DOM APIs including SharedWorker, CustomElementRegistry constructors and new SubtleCrypto algorithms. Security fixes cover SpiderMonkey CVEs, constant-time RSA and ML-DSA operations, and an XSS in file:// listings. A new NoGC marker type uses Rust borrowing rules to prove garbage collection cannot occur during borrow\_mut(), eliminating a class of DomRefCell panics and enabling rooting-free fast paths worth about 1% in layout. Other gains include 17% smaller BoxFragment, async image decoding, up to 23% lower 2D canvas power, and early work on a C API for embedding Servo as a prebuilt library.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Rust](https://swe.quest/tags/rust.md) (Languages)
- [Memory management](https://swe.quest/tags/memory-management.md) (Compilers & runtimes)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- Rust borrowing and RefCell ([easy posts on Rust](https://swe.quest/tags/rust.md?difficulty=easy))
- web platform APIs ([easy posts on Browsers](https://swe.quest/tags/browsers.md?difficulty=easy))
- garbage collection basics ([easy posts on Memory management](https://swe.quest/tags/memory-management.md?difficulty=easy))

## Keywords

Servo, SpiderMonkey, SharedWorker, WebGPU, SubtleCrypto, NoGC

## Related posts

- [September in Servo: \<progress\>, rounded rectangles, and more!](https://swe.quest/articles/september-in-servo-progress-rounded-rectangles-and-more-366001ae43187fe1.md): Servo · 2026-11-05 · Easy · 8 min read · Browsers, Rust, Performance engineering, Memory management
  Servo 0.7.0 bundles 527 commits from September, adding web platform features such as the \<progress\> element, :checked, user-select, CSS typed arithmetic, alpha(), font-width, Canvas roundRect() and an MLKEM768-X25519 WebCrypto algorithm, plus many new DOM APIs.
- [July in Servo: more platforms, faster canvas, web fonts in SVG, and more!](https://swe.quest/articles/july-in-servo-more-platforms-faster-canvas-web-fonts-in-svg-and-more-963e3dcdc6d7aa92.md): Servo · 2026-08-31 · Easy · 7 min read · Browsers, Rust, Performance engineering, Open source
  Servo 0.5.0 bundles July's 488 commits, adding Linux aarch64 binaries, visible DOM text selections, web fonts in inline SVG, and CSS features like text-decoration-thickness, box-decoration-break and font-variant-alternates, plus SubtleCrypto Ed448/X448/KMAC and new execCommand commands.
- [August in Servo: CSS Grid, text selection, and more!](https://swe.quest/articles/august-in-servo-css-grid-text-selection-and-more-5a727bbd0e5dbc93.md): Servo · 2026-10-09 · Easy · 10 min read · Browsers, Rust, CSS, Open source
  Servo 0.6.0 bundles 417 August commits, headlined by CSS Grid enabled by default and working interactive text selection, plus new web platform features (touch-action, animation-composition, color-scheme) and DOM APIs.
- [This Month in Ladybird - August 2026](https://swe.quest/articles/this-month-in-ladybird-august-2026-e7183d3f3eaa522b.md): Ladybird · 2026-08-31 · Hard · 13 min read · Browsers, Performance engineering, Rust, Memory safety, CSS
  Ladybird's August 2026 progress centres on a sustained engine performance push.
- [This Month in Ladybird - July 2026](https://swe.quest/articles/this-month-in-ladybird-july-2026-7519e340d470d9a1.md): Ladybird · 2026-07-31 · Medium · 11 min read · Browsers, Runtimes & VMs, Rust, Compilers, Memory safety
  Ladybird added private browsing, per-profile storage and sandboxing, undo/redo and rich-text editing, geolocation, and working WebAudio in July 2026, and moved most of LibWeb's style and layout pipeline to Rust.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
