This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17083 - / is not a font family value
Summary: / is not a font family value
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 23:29 UTC by Peter Yates
Modified: 2012-08-29 10:46 UTC (History)
3 users (show)

See Also:


Attachments

Description Peter Yates 2012-05-16 23:29:20 UTC
when declaring the font size and line height in the font declaration with a forward slash between them in the format: 130%/150% the validator tells me that / is not a font family value.  Sites which were valid previously now fail because of this "error".
Comment 1 tszming 2012-06-22 14:17:43 UTC
Confirmed this issue, e.g.

p {
  font: 14px/21px Arial;
}
Comment 2 klasse 2012-06-22 17:47:50 UTC
Same with CSS 3 by the way.
Comment 3 Gérard Talbot 2012-07-31 03:02:52 UTC
I set 
Platform: All
OS: All

and I confirm Peter Yates' findings. 

I have now lots of webpages with a reported CSS validation error but it's definitely the CSS validator that has the bug.

Gérard
Comment 4 Yves Lafon 2012-08-29 10:46:19 UTC
Fixed with new font-* code for all CSS levels.