Servo latest update boosts speed, xPath, and adds dark mode & advanced CSS support

Servo latest update boosts speed, xPath, and adds dark mode & advanced CSS support

The latest updates to the Servo web browser engine have made the nightly builds faster, more reliable, and 20% smaller. These updates have improved support for web apps like Discord, although message sending is still in development.

Servo now supports dark mode, integrating with platform settings on Windows and macOS, and recognizes the prefers-color-scheme media query. CSS capabilities have been expanded to include script-triggered transitions, flex container sizing properties, and better alignment for positioned elements. JavaScript functionality has been enhanced with support for console.trace(), PointerEvent, and clonable on ShadowRoot, along with Shadow DOM layout support via experimental flags. A significant rework of the script crate improves reliability and build speed, including DOM synchronization and ReadableStream support.

Basic XPath functionality is introduced, enabling compatibility with libraries like htmx. Performance has been boosted with flex column layout caching, reducing memory usage and unnecessary reflows, and improving rendering speeds for animations. The servoshell binaries are now 20% smaller, with options for WebGPU builds and layout optimizations. Incremental layout groundwork has begun, promising significant performance gains, and test reliability has been improved with better handling of synchronous resizing. Users can now configure thread pool sizes to optimize performance on multi-core systems.

by Mauricio B. Holguin

Extropista
Extropista found this interesting
Servo iconServo
  22
  • ...

Servo is a modern, high-performance web rendering engine tailored for both application and embedded use. Known for its modular system, Servo offers flexibility and efficiency in web rendering tasks. It stands as a browser engine with a user rating of 5. Top alternatives to Servo include Gosub, WebKit, and Gecko, each offering distinct features for various web rendering needs.

No comments so far, maybe you want to be first?
Gu