style: Remove dependency on servo_config (was #31409) (#31411)

* Initial style_config crate

* Remove servo_config from style

* Remove servo_config from tests/unit/style

* Plumb servo prefs into stylo

* Clean up dependencies

* Fix formatting

* Add unit tests

* Add comment about avoiding clone

* Fix bug where getters acquire unnecessary write lock

* Remove stray dbg!()

* Plumb default prefs into Stylo as well

* Add comments about logging and mapping new pref types
This commit is contained in:
Delan Azabani 2024-02-23 16:40:54 +08:00 committed by GitHub
parent 9c0561536d
commit e078a99817
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 188 additions and 15 deletions

View file

@ -19,7 +19,6 @@ serde_json = { workspace = true }
selectors = {path = "../../../components/selectors" }
servo_arc = {path = "../../../components/servo_arc"}
servo_atoms = {path = "../../../components/atoms"}
servo_config = {path = "../../../components/config"}
style = {path = "../../../components/style", features = ["servo"]}
style_traits = {path = "../../../components/style_traits"}
url = { workspace = true }