A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/servo/stylo below:

servo/stylo: CSS engine that powers Servo and Firefox

High-Performance CSS Style Engine

Stylo is a high-performance, browser-grade CSS style engine written in Rust that powers Servo and Firefox. This repo contains Servo’s downstream version of Stylo. The upstream version lives in mozilla-central with the rest of the Gecko/Firefox codebase.

Coordination of Stylo development happens:

The branches are as follows:

Warning

This repo syncs from upstream by creating a new branch and then rebasing our changes on top of it. This means that git pull will not work across syncs (you will need to use git fetch, git reset and git rebase).

More information on the syncing process is available in SYNCING.md

A guide to the crates contained within this repo

These crates are largely implementation details of Stylo, although you may need to use some of them directly if you use Stylo.

These crates form part of Stylo but are also be useful standalone.

You may also be interested in the cssparser crate which lives in the servo/rust-cssparser repo.

Low-level crates which could technically be used standalone but are unlikely to be generally useful in practice.

Building Servo Against a Local Copy of Stylo

Assuming your local servo and stylo directories are siblings, you can build servo against stylo by adding the following to servo/Cargo.toml:

[patch."https://github.com/servo/stylo"]
selectors = { path = "../stylo/selectors" }
servo_arc = { path = "../stylo/servo_arc" }
stylo_atoms = { path = "../stylo/stylo_atoms" }
stylo = { path = "../stylo/style" }
stylo_config = { path = "../stylo/stylo_config" }
stylo_dom = { path = "../stylo/stylo_dom" }
stylo_malloc_size_of = { path = "../stylo/malloc_size_of" }
stylo_traits = { path = "../stylo/style_traits" }

Releases are made every time this repository rebases its changes on top of the latest version of upstream Stylo. There are a lot of crates here. In order to publish them, they must be done in order. One order that works is:

Stylo is licensed under MPL 2.0


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4