mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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".
This commit is contained in:
parent
5ad9207a99
commit
3f61d63e72
4 changed files with 32 additions and 0 deletions
2
components/servo/Cargo.lock
generated
2
components/servo/Cargo.lock
generated
|
@ -650,6 +650,8 @@ name = "gfx_tests"
|
|||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"gfx 0.0.1",
|
||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||
"style 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue