[Webkit-unassigned] [Bug 47371] Font family name containing more than one word without quote is not recognized if a word looks like a number
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 28 04:24:53 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=47371
Yuzo Fujishima <yuzo at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Yuzo Fujishima <yuzo at google.com> 2010-10-28 04:24:52 PST ---
Actually, Kruti Dev 010 is invalid if unquoted. (010 is not an identifier.)
So this is not a bug.
http://www.w3.org/Style/css2-updates/css2/fonts.html#font-family-prop
Font family names must either be given quoted as strings, or unquoted as a sequence of one or more identifiers. This means most punctuation characters and digits at the start of each token must be escaped in unquoted font family names.
For example, the following declarations are invalid:
font-family: Red/Black, sans-serif;
font-family: "Lucida" Grande, sans-serif;
font-family: Ahem!, sans-serif;
font-family: test at foo, sans-serif;
font-family: #POUND, sans-serif;
font-family: Hawaii 5-0, sans-serif;
If a sequence of identifiers is given as a font family name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list