<?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>42533</bug_id>
          
          <creation_ts>2010-07-18 19:47:31 -0700</creation_ts>
          <short_desc>webkit-transition while using non-standard font causes flash to default font during transition</short_desc>
          <delta_ts>2010-07-19 18:52:59 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>33429</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="Andrew Petersen">kirbysayshi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kirbysayshi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>253043</commentid>
    <comment_count>0</comment_count>
      <attachid>61924</attachid>
    <who name="Andrew Petersen">kirbysayshi</who>
    <bug_when>2010-07-18 19:47:31 -0700</bug_when>
    <thetext>Created attachment 61924
Test HTML case

I believe I have found a bug in font display when using a transition and an Embedded Font. I&apos;m using the Google Font API to load a special font, which displays fine. However, while the text is being animated as the result of a CSS transition, the text reverts to the default font. So before and after the transition the text is displayed with the proper font, but during the transition the default font is used (or at least the next non @fontface-esque specified in font-famly).

Attached is a test case that demonstrates this. In Safari 5, at least, when the text transitions in size (triggered by hovering), the font switches to Arial, and then flashes back to IM Fell DW Pica SC when the transition is complete.

In Minefield, the text animates as expected.

Please excuse if this is a duplicate! I searched, and did not find anything in Bugzilla, and the only other reference to this bug was found here: http://unstoppablerobotninja.com/entry/webkit-bug-yay/. Perhaps it is fixed in the nightlies?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253459</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-07-19 16:41:15 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 33429 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253462</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-07-19 16:43:08 -0700</bug_when>
    <thetext>&gt; Perhaps it is fixed in the nightlies?

Yes, this is already fixed. Testing with a nightly build is meant to be easy - they are self-contained, and don&apos;t change anything in your OS or Safari installation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253516</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Petersen">kirbysayshi</who>
    <bug_when>2010-07-19 18:52:59 -0700</bug_when>
    <thetext>Question then: why when I search for &quot;webkit-transition font&quot;, does bug 33429 not show up? Is there a different way I should be searching?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>61924</attachid>
            <date>2010-07-18 19:47:31 -0700</date>
            <delta_ts>2010-07-18 19:47:31 -0700</delta_ts>
            <desc>Test HTML case</desc>
            <filename>font-transition-bug.html</filename>
            <type>text/html</type>
            <size>835</size>
            <attacher name="Andrew Petersen">kirbysayshi</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgoJPGhlYWQ+CgkJPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVu
dC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPgoJCTx0aXRsZT5Gb250
IFRlc3Q8L3RpdGxl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