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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>10919</bug_id>
          
          <creation_ts>2006-09-18 10:28:48 -0700</creation_ts>
          <short_desc>REGRESSION (r18680): Fonts with &apos;light&apos; or &apos;ultra-light&apos; defaulting to those instead of &apos;regular&apos;</short_desc>
          <delta_ts>2007-01-16 10:08:33 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11027</dup_id>
          
          <bug_file_loc>http://www.apple.com/downloads/dashboard/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Filippone (donkeyentertain)">mikef</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>mitz</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55834</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Filippone (donkeyentertain)">mikef</who>
    <bug_when>2006-09-18 10:28:48 -0700</bug_when>
    <thetext>I&apos;m not sure if this is just my system, since I have about 1000 other fonts installed, but it works fine in regular Safari.  Anyways, fonts with the font-size specified will load the &apos;ultra light&apos; version of the font, if there is one.  If there is a &apos;light&apos; version of the font, it seems like you don&apos;t even need the font-size and it will load by default.

If you throw in a font-weight in there, either font-weight:normal, or font-weight:400, nothing will happen.  However, if you put font-weight:bold, or 800, it will load the &apos;bold&apos; version of the font.

Besides Helvetica Neue (which you need the font-weight in there to reproduce), I also tested American Typewriter and Gill Sans, which both had a &apos;light&apos; version of the font.  The font-size attribute did not need to be set to reproduce the error for those fonts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55835</commentid>
    <comment_count>1</comment_count>
      <attachid>10628</attachid>
    <who name="Mike Filippone (donkeyentertain)">mikef</who>
    <bug_when>2006-09-18 10:31:20 -0700</bug_when>
    <thetext>Created attachment 10628
testcase

I put both ways to reproduce, with the Helvetica Neue (which needs font-size to reproduce), and Gill Sans (which does not).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34715</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-01-16 00:35:09 -0800</bug_when>
    <thetext>Rolling out &lt;http://trac.webkit.org/projects/webkit/changeset/18680&gt; fixes it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34622</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-01-16 10:08:33 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 11027 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10628</attachid>
            <date>2006-09-18 10:31:20 -0700</date>
            <delta_ts>2006-09-18 10:31:20 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>bug10919testcase.html</filename>
            <type>text/html</type>
            <size>221</size>
            <attacher name="Mike Filippone (donkeyentertain)">mikef</attacher>
            
              <data encoding="base64">PHA+VGhlIHR3byB0ZXh0IGZpZWxkcyBiZWxvdyBzaG91bGQgbG9vayBub3JtYWxseSB3ZWlnaHRl
ZCwgYnV0IHRoZXkgZG9lcyBub3QuPC9wPgoKPGZvbnQgc3R5bGU9ImZvbnQtZmFtaWx5OidIZWx2
ZXRpY2EgTmV1ZSc7IGZvbnQtc2l6ZToxNXB4OyI+dGV4dCB0ZXh0PC9mb250Pgo8YnI+Cjxmb250
IHN0eWxlPSJmb250LWZhbWlseTonR2lsbCBTYW5zJzsiPnRleHQgdGV4dDwvZm9udD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>