mirror of
https://github.com/servo/servo
synced 2026-05-02 04:17:38 +02:00
This test tries to add a web font to the `FontCacheTask`. The added web font
corresponds to the following CSS font definition:
```
@font-face {
font-family: "test family";
src: local(test font face);
}
```
This test fails, since `FontCacheTask` tries to get the value for the key
"test font face" from `self.web_families`, but previously initialized
a value for the key "test family".
19 lines
331 B
TOML
19 lines
331 B
TOML
[package]
|
|
name = "gfx_tests"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
|
|
[lib]
|
|
name = "gfx_tests"
|
|
path = "lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies.gfx]
|
|
path = "../../../components/gfx"
|
|
|
|
[dependencies.ipc-channel]
|
|
git = "https://github.com/servo/ipc-channel"
|
|
|
|
[dependencies.style]
|
|
path = "../../../components/style"
|