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:
@ -1,7 +1,7 @@
|
|||||||
box {
|
box {
|
||||||
font: "Comic Sans 10";
|
font: 10px "Comic Sans";
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
[window.background:dir(ltr)]
|
[window.background:dir(ltr)]
|
||||||
decoration:dir(ltr)
|
decoration:dir(ltr)
|
||||||
box.horizontal:dir(ltr)
|
box.horizontal:dir(ltr)
|
||||||
font-size: 10px; /* font.css:2:23 */
|
font-size: 10px; /* font.css:2:25 */
|
||||||
font-family: "\"Comic Sans 10\""; /* font.css:2:23 */
|
font-family: "Comic Sans"; /* font.css:2:25 */
|
||||||
font-style: normal; /* font.css:2:23 */
|
font-style: normal; /* font.css:2:25 */
|
||||||
font-variant: normal; /* font.css:2:23 */
|
font-variant: normal; /* font.css:2:25 */
|
||||||
font-weight: normal; /* font.css:2:23 */
|
font-weight: normal; /* font.css:2:25 */
|
||||||
font-stretch: normal; /* font.css:2:23 */
|
font-stretch: normal; /* font.css:2:25 */
|
||||||
|
|
||||||
label:dir(ltr)
|
label:dir(ltr)
|
||||||
font-size: 8.3333333333333339px; /* font.css:6:20 */
|
font-size: 8.3333333333333339px; /* font.css:6:20 */
|
||||||
|
|||||||
Reference in New Issue
Block a user