How aetherbrowser/aether works
Servo is a prototype web browser engine. Its principal runtime path is web content handled by script and DOM services, coordinated as browsing-context pipelines, laid out into display data, then painted and presented. The repository also includes networking, media, storage, fonts, debugging, automation, and WebGPU capabilities. The graph preserves these distinct product areas; many cross-subsystem links are omitted because the supplied excerpts do not show their runtime wiring. Layout links are supported by the SOURCE INDEX references, not a full inspection of those implementations.
Main entry points: layout_impl.rs Layout engine · pipeline.rs Page pipelines · dom Script and DOM · traits.rs WebGPU interfaces
Components 22
Browser coordination
- Page pipelines
components/constellation/pipeline.rs - Constellation loop
components/constellation/event_loop.rs - Script and DOM
components/script/dom
Rendering
- Layout engine
components/layout/layout_impl.rs - Layout DOM
components/layout/dom.rs - DOM traversal
components/layout/dom_traversal.rs - Style extensions
components/layout/style_ext.rs - Layout queries
components/layout/query.rs - Stacking contexts
components/layout/display_list/stacking_context.rs - Painter
components/paint/painter.rs
Platform services
- Fetch and networking
components/net/fetch/methods.rs - Web storage
components/storage - Font service
components/fonts/system_font_service.rs - Media engine
components/media
Web capabilities
- Bluetooth
components/bluetooth/bluetooth.rs - Bluetooth adapter
components/bluetooth/adapter.rs - Compute pipelines
components/script_webgpu/gpucomputepipeline.rs - Render pipelines
components/script_webgpu/gpurenderpipeline.rs - WebGPU interfaces
components/script_webgpu/traits.rs
Inspection and automation
- Developer tools
components/devtools/lib.rs - WebDriver server
components/webdriver_server/lib.rs
Other components
- Web content
Connections 12
- Web content → Script and DOM: handled by
- Script and DOM → Page pipelines: runs in
- Page pipelines → Constellation loop: spawns through
components/constellation/pipeline.rs - Layout engine → Layout DOM: uses
components/layout/layout_impl.rs - Layout engine → DOM traversal: uses
components/layout/layout_impl.rs - Layout engine → Style extensions: uses
- Layout engine → Layout queries: uses
components/layout/layout_impl.rs - Layout engine → Stacking contexts: builds
- Layout engine → Painter: produces paint data
- Bluetooth → Bluetooth adapter: uses
components/bluetooth/bluetooth.rs - Compute pipelines → WebGPU interfaces: implements interfaces
components/script_webgpu/gpucomputepipeline.rs - Render pipelines → WebGPU interfaces: implements interfaces
components/script_webgpu/gpurenderpipeline.rs