1.60 KB, text/html
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628 BuildID: 2001062815 according to the CSS docs, the first value should be font-size, the second line-spacing. Mozilla completely ignores the line. see url / attachment Reproducible: Always Steps to Reproduce: 1. see url 2. 3. Actual Results: text rendered in default size & line-spacing. Expected Results: render txt in font-size & with line spacing given in font:10px/13px;
over to style system. ccing dbaron. The "font: 10px/13px" syntax should set font-size:10px and line-spacing:13px and it's not doing that....
aaaand this is invalid. Looking over the "font" shorthand property definition (at http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand): 'font' Value: [ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit Notice that this means that if we're settin the various font properties, the font size and the font family are both _required_. Something like "font: 10px/13px serif" works just fine in Mozilla, as it should. "font: 12px" does _not_ work, as expected. Marking invalid, and apologies for the spam.