gtk2/tests/css/parser/font-family.css
Benjamin Otte d3535ff6ce tests: Add tests for font-family
This readds the tests now that font-family works again. They were
previously removed when font-family support was backed out due to bugs.
2011-06-15 12:57:21 +02:00

66 lines
808 B
CSS

a {
font-family: none;
}
b {
font-family: Sans Serif;
}
c {
font-family: A Font with a lot of text\2C spaces and special characters\2122;
}
d {
font-family: "A Font with a lot of text, spaces and special characters™" ;
}
e {
font-family: A, Lot, Of, Fonts;
}
f {
font-family: "A", "Lot", "Of", "Fonts";
}
g {
font-family: "A Lot", Of, "Fonts";
}
/* errors straight from the CSS 2.1 spec */
cssa {
font-family: Red/Black, sans-serif;
}
cssb {
font-family: "Lucida" Grande, sans-serif;
}
cssc {
font-family: Ahem!, sans-serif;
}
cssd {
font-family: test@foo, sans-serif;
}
csse {
font-family: #POUND, sans-serif;
}
cssf {
font-family: Hawaii 5-0, sans-serif;
}
/* errors */
ea {
font-family: ;
}
eb {
font-family: No comma at the end, please, ;
}