Servo 0.7.0 lands 527 September commits with CSS, DOM and embedding changes
Servo 0.7.0 collects all of the engine's September changes, spanning 527 commits, and the developer tools console now eagerly evaluates JS inputs for faster feedback. New web platform features include the :checked pseudoclass[1], the user-select property, the <progress> element, CSS typed arithmetic, the alpha() CSS function and the font-width property. New DOM APIs include roundRect() on CanvasRenderingContext2D, getComposedRanges() on Selection, CSS modules, text modules and the MLKEM768-X25519 algorithm for WebCrypto.
SpiderMonkey was upgraded to v153.3 and mozangle to v0.7, both carrying fixes for security bugs reported upstream. An egui.rs demo now works with --pref dom._webegpu_enabled and a Candy Crush game is playable; the team asks users to report how well their favourite websites run in Servo on Zulip or GitHub. Work in progress includes geometry bounds for inline elements in the accessibility tree, WebGL2 conformance improvements, keyboard input for WYSIWYG editors through --pref dom_exec_command_enabled, WebVTT[2] text tracks that now fire enter, exit and cuechange events, the javascriptURLs property in the Sanitizer API, and openCursor() and openKeyCursor() on IDBIndex in IndexedDB[3].
In the embedding API, Servo::forward_accessibility_action and WebView::clear_session_history were added, while WebView::set_throttled and WebViewDelegate::notify_focus_changed were removed. The webgl feature joined default_web_features, and multiprocess mode is now enabled at build time through a new Cargo feature that can be left out to cut binary size by ~2MB. Control+A (Command+A on macOS) now selects all content, copying text from password inputs is blocked, unhandled promise rejections are reported to the JS console, and JS from the embedder, such as the devtools console, always executes even in documents that disable scripting through sandboxing or CSP[4]. Performance and stability work removed unnecessary allocations, avoided inter-process communication in single-process mode, reduced interactions with the garbage collector and fixed a memory leak involving <audio> and <video> elements.
Read the original servo.orgDiscussion
Sources
-
servo.org
September in Servo: progress, rounded rectangles, and more



