Shadow roots, explained with live examples
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Frontend developers get a practical, interactive reference for shadow DOM style encapsulation, slots and JS access, but nothing here changes how anyone works this week.
Simon Willison published a blog post on 23 September 2026 explaining shadow roots, the browser feature that lets part of a web page keep its own hidden structure and styles. It uses an interactive artifact to demonstrate style encapsulation, inheritance, slots and JavaScript access. It is a developer tutorial, not a product or research announcement, and includes no tools to download.
This is an educational post by Simon Willison, dated 23 September 2026, teaching shadow DOM concepts through an interactive artifact. There is no product, pricing, company or competitive move involved, so it carries no business cost or risk implications. Decision-makers can safely ignore it unless they employ frontend developers.
Willison's 23 September 2026 post builds an interactive artifact demonstrating shadow root mechanics: style encapsulation with isolated stylesheets, style inheritance across the boundary, slot distribution, the ::part mechanism, and JavaScript access to shadow DOM internals. It references running Datasette with Pyodide and service workers in-browser and Qwen 3.8 27B. No benchmark figures or APIs are introduced.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.