<?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>79260</bug_id>
          
          <creation_ts>2012-02-22 11:05:44 -0800</creation_ts>
          <short_desc>REGRESSION (r107516): fast/css/font-face-default-font.html is failing</short_desc>
          <delta_ts>2012-02-22 22:12:51 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Kenichi Ishibashi">bashi</assigned_to>
          <cc>bashi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>562159</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-02-22 11:05:44 -0800</bug_when>
    <thetext>&lt;http://trac.webkit.org/r107516&gt; caused fast/css/font-face-default.font.html to fail. Specifically, the italicized text changed from Arial to Times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562714</commentid>
    <comment_count>1</comment_count>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2012-02-22 19:34:34 -0800</bug_when>
    <thetext>According to the latest draft spec:
- the default value of font-style descriptor is normal (http://dev.w3.org/csswg/css3-fonts/#font-prop-desc)
- a font which has desirable style (italic in this case) is prioritized others if the font-family is matched (http://dev.w3.org/csswg/css3-fonts/#font-style-matching)

fast/css/font-face-default-font.html defines @font-face without font-style:

@font-face {
    font-family: Times;
    src: local(&quot;Arial&quot;);
}

And Mac (and maybe other platforms) has regular and italic Times font. These facts caused the test failure.

I think the current behavior follows the draft spec. Just adding following @font-face will solve the failure.

@font-face {
    font-family: Times;
    font-style: italic;
    src: local(&quot;Arial&quot;);
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562720</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2012-02-22 19:39:16 -0800</bug_when>
    <thetext>Makes sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562725</commentid>
    <comment_count>3</comment_count>
      <attachid>128373</attachid>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2012-02-22 19:46:37 -0800</bug_when>
    <thetext>Created attachment 128373
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562729</commentid>
    <comment_count>4</comment_count>
      <attachid>128373</attachid>
    <who name="">mitz</who>
    <bug_when>2012-02-22 19:48:54 -0800</bug_when>
    <thetext>Comment on attachment 128373
Patch

Not really necessary for the test, but easier than updating all the results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562731</commentid>
    <comment_count>5</comment_count>
      <attachid>128373</attachid>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2012-02-22 19:50:24 -0800</bug_when>
    <thetext>Comment on attachment 128373
Patch

Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562830</commentid>
    <comment_count>6</comment_count>
      <attachid>128373</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-22 22:12:47 -0800</bug_when>
    <thetext>Comment on attachment 128373
Patch

Clearing flags on attachment: 128373

Committed r108609: &lt;http://trac.webkit.org/changeset/108609&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>562831</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-22 22:12:51 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>128373</attachid>
            <date>2012-02-22 19:46:37 -0800</date>
            <delta_ts>2012-02-22 22:12:47 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-79260-20120223124636.patch</filename>
            <type>text/plain</type>
            <size>1522</size>
            <attacher name="Kenichi Ishibashi">bashi</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTA4NTk5CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNmVlMzYxMWJmNjkxNTMyN2IyMGQ2
NzUwYmM2NWU1NmJlODVlMmM4NC4uZDU0ODg2ZWY0MGJlNmI4MDlmYWMyMDhmMDc0OWM5NGE0N2Vm
MjVhZCAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEyLTAyLTIyICBLZW5pY2hpIElzaGliYXNo
aSAgPGJhc2hpQGNocm9taXVtLm9yZz4KKworICAgICAgICBSRUdSRVNTSU9OIChyMTA3NTE2KTog
ZmFzdC9jc3MvZm9udC1mYWNlLWRlZmF1bHQtZm9udC5odG1sIGlzIGZhaWxpbmcKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTc5MjYwCisKKyAgICAgICAg
QWRkIEBmb250LWZhY2Ugd2l0aCAiZm9udC1zdHlsZTogaXRhbGljOyIgc28gdGhhdCBhZmZlY3Rp
bmcgdGhlIHJ1bGUKKyAgICAg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orICAgICAgICBAZm9udC1mYWNlIHsK
KyAgICAgICAgICAgIGZvbnQtZmFtaWx5OiAiVGltZXMgTmV3IFJvbWFuIjsKKyAgICAgICAgICAg
IGZvbnQtc3R5bGU6IGl0YWxpYzsKKyAgICAgICAgICAgIHNyYzogbG9jYWwoIkFyaWFsIik7Cisg
ICAgICAgIH0KICAgICA8L3N0eWxlPgogPC9oZWFkPgogPGJvZHk+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>