<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16362</bug_id>
          
          <creation_ts>2012-03-14 06:36:59 +0000</creation_ts>
          <short_desc>Don&apos;t warn about whitespace in font family name</short_desc>
          <delta_ts>2012-03-27 13:49:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 3</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mathias</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65503</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-14 06:36:59 +0000</bug_when>
    <thetext>http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.whatwg.org%2Fstyle%2Fspecification&amp;profile=css3&amp;usermedium=all&amp;warning=1&amp;vextwarning=&amp;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&apos;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&apos;t warn about valid unquoted identifiers at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66111</commentid>
    <comment_count>1</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2012-03-27 13:49:14 +0000</bug_when>
    <thetext>The warning that is currently displayed only makes sense in extreme edge cases, like when the font family name actually contains two or more consecutive space characters, e.g. `Foo    Bar`. In that case, you’d need to use quotes: `font-family: &apos;Foo    Bar&apos;`. If you’d use `font-family: Foo    Bar` (without the quotes) instead, it would get interpreted as `font-family: &apos;Foo Bar&apos;`, with only a single space, which wouldn’t match the desired font family name.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>