Serialize unquoted font-family without quote

This commit is contained in:
Nazım Can Altınova 2017-03-28 01:10:27 +03:00
parent 54e2b7b2d5
commit 9991c496b3
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
8 changed files with 53 additions and 24 deletions

View file

@ -1257,8 +1257,8 @@ fn static_assert() {
for family in &v.0 {
match *family {
FontFamily::FamilyName(ref name) => {
unsafe { Gecko_FontFamilyList_AppendNamed(list, name.0.as_ptr()); }
FontFamily::FamilyName(ref f) => {
unsafe { Gecko_FontFamilyList_AppendNamed(list, f.name.as_ptr(), f.quoted); }
}
FontFamily::Generic(ref name) => {
let (family_type, generic) =