- From: <bugzilla@jessica.w3.org>
- Date: Wed, 14 Mar 2012 06:37:00 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16362
Summary: Don't warn about whitespace in font family name
Product: CSSValidator
Version: CSS Validator
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: CSS 3
AssignedTo: dave.null@w3.org
ReportedBy: simonp@opera.com
QAContact: www-validator-cvs@w3.org
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.whatwg.org%2Fstyle%2Fspecification&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en
Family names containing whitespace should be quoted. If quoting is omitted, any
whitespace characters before and after the name are ignored and any sequence of
whitespace characters inside the name is converted to a single space.
This doesn't match current CSS specs
http://dev.w3.org/csswg/css3-fonts/#propdef-font-family
http://www.w3.org/TR/CSS21/fonts.html#font-family-prop
In practice I think it is pointless to warn about whitespace in unquoted font
family names, since they are harmless. What is problematic is unquoted family
names that start with a digit or contains punctuation, and that applies even if
the name contains *no* whitespace. So either you should warn about all unquoted
identifiers and say that names that start with a digit or contains punctuation
will break, or don't warn about valid unquoted identifiers at all.
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 14 March 2012 06:37:08 UTC