mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Serialize unquoted font-family without quote
This commit is contained in:
parent
54e2b7b2d5
commit
9991c496b3
8 changed files with 53 additions and 24 deletions
|
@ -12,8 +12,14 @@ fn test_local_web_font() {
|
|||
let (inp_chan, _) = ipc::channel().unwrap();
|
||||
let (out_chan, out_receiver) = ipc::channel().unwrap();
|
||||
let font_cache_thread = FontCacheThread::new(inp_chan, None);
|
||||
let family_name = FamilyName(From::from("test family"));
|
||||
let variant_name = FamilyName(From::from("test font face"));
|
||||
let family_name = FamilyName {
|
||||
name: From::from("test family"),
|
||||
quoted: true,
|
||||
};
|
||||
let variant_name = FamilyName {
|
||||
name: From::from("test font face"),
|
||||
quoted: true,
|
||||
};
|
||||
let font_face_rule = FontFaceData {
|
||||
family: family_name.clone(),
|
||||
sources: vec![Source::Local(variant_name)],
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
[content: attr(foo_bar)]
|
||||
expected: FAIL
|
||||
|
||||
[font-family: Arial]
|
||||
expected: FAIL
|
||||
|
||||
[list-style-type: decimal-leading-zero]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue