Files
servo/tests/unit/gfx/Cargo.toml
Adrian Heine 3f61d63e72 Add failing test for FontCacheTask::add_web_font
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".
2016-01-04 15:23:26 +01:00

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"