<?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>84194</bug_id>
          
          <creation_ts>2012-04-17 14:34:45 -0700</creation_ts>
          <short_desc>REGRESSION(r112155): Children style not always recalculated in CSS animations</short_desc>
          <delta_ts>2012-06-07 21:38:51 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Loïc Yhuel">loic.yhuel</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>igor.oliveira</cc>
    
    <cc>marc.hoyois</cc>
    
    <cc>robarnold</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>604349</commentid>
    <comment_count>0</comment_count>
      <attachid>137607</attachid>
    <who name="Loïc Yhuel">loic.yhuel</who>
    <bug_when>2012-04-17 14:34:45 -0700</bug_when>
    <thetext>Created attachment 137607
blinking text animation

The attached blink animation no longer works since https://bugs.webkit.org/show_bug.cgi?id=79389 has landed.

There are paints, but the text is always black.

In Element::recalcStyle, when the text color should be changed to white :
 - styleChangeType() is SyntheticStyleChange, the animated style (color: white) is set on the Element in setRenderStyle(newStyle)
 - currentStyle and newStyle are the same (color: black), so ch is NoChange
 - After r112155, change is no more set to Force, so Text::recalcTextStyle is called with NoChange as argument, the style of the text is not changed, so the text color remains black.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>604365</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-17 14:49:08 -0700</bug_when>
    <thetext>&lt;rdar://problem/11267408&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>630544</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-22 10:55:51 -0700</bug_when>
    <thetext>Rob, would you be willing to investigate this regression?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631047</commentid>
    <comment_count>3</comment_count>
    <who name="Rob Arnold">robarnold</who>
    <bug_when>2012-05-22 18:32:53 -0700</bug_when>
    <thetext>Yes, I should have investigated sooner. Unfortunately it&apos;ll probably be 2 weeks before I can really dig into this (vacation + needing to unblock a bunch of people at FB). It looks like Loïc did some nice investigation; my current plan is to see if forcing recalcuation when the new style has inheritable properties (ideally if they changed / are used) will work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634185</commentid>
    <comment_count>4</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-05-25 12:34:37 -0700</bug_when>
    <thetext>We&apos;re getting multiple reports of this breaking various things. I&apos;m going to revert the change from https://bugs.webkit.org/show_bug.cgi?id=79389</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634213</commentid>
    <comment_count>5</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-05-25 13:03:48 -0700</bug_when>
    <thetext>Reverted in http://trac.webkit.org/changeset/118553</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634222</commentid>
    <comment_count>6</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-05-25 13:08:41 -0700</bug_when>
    <thetext>Reverting fixed the attached testcase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644306</commentid>
    <comment_count>7</comment_count>
    <who name="Marc Hoyois">marc.hoyois</who>
    <bug_when>2012-06-07 21:38:51 -0700</bug_when>
    <thetext>*** Bug 84371 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>137607</attachid>
            <date>2012-04-17 14:34:45 -0700</date>
            <delta_ts>2012-04-17 14:34:45 -0700</delta_ts>
            <desc>blinking text animation</desc>
            <filename>blink.html</filename>
            <type>text/html</type>
            <size>423</size>
            <attacher name="Loïc Yhuel">loic.yhuel</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICAgICAg
ICAgICBALXdlYmtpdC1rZXlmcmFtZXMgYmxpbmsgewogICAgICAgICAgICAgICAgMCUgICB7IGNv
bG9yOiBibGFjazsgfQogICAgICAgICAgICAgICAgNTAlICB7IGNvbG9yOiB3aGl0ZTsgfQogICAg
ICAgICAgICAgICAgMTAwJSB7IGNvbG9yOiBibGFjazsgfQogICAgICAgICAgICB9CgogICAgICAg
ICAgICAjYmxpbmsgewogICAgICAgICAgICAgICAgLXdlYmtpdC1hbmltYXRpb246IGJsaW5rIDFz
IHN0ZXAtZW5kIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgPC9zdHlsZT4KICAgIDwv
aGVhZD4KICAgIDxib2R5PgogICAgICAgIDxzcGFuIGlkPWJsaW5rPkJsaW5raW5nIHRleHQ8L3Nw
YW4+CiAgICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>