Fix the css style font test

Setting the font: shorthand to something like smaller is not
in line with the css spec. Just set the font-size: property
for this.

Also fix the other font: shorthand to specify size and family
according to the css spec.
This commit is contained in:
Matthias Clasen
2016-04-18 11:40:10 -04:00
parent 31a12c6a23
commit 5993875d38
2 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
box {
font: "Comic Sans 10";
font: 10px "Comic Sans";
}
label {
font: smaller;
font-size: smaller;
}