<?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>198529</bug_id>
          
          <creation_ts>2019-06-04 08:01:52 -0700</creation_ts>
          <short_desc>css &apos;inherit&apos; fails when parent property is running an accelerated animation</short_desc>
          <delta_ts>2022-03-04 13:46:37 -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>Animations</component>
          <version>Safari 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephen McGruer">smcgruer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1541567</commentid>
    <comment_count>0</comment_count>
      <attachid>371281</attachid>
    <who name="Stephen McGruer">smcgruer</who>
    <bug_when>2019-06-04 08:01:52 -0700</bug_when>
    <thetext>Created attachment 371281
reproduction

Steps to reproduce:

See https://output.jsbin.com/nidagep/ for the reproduction (also attached), and the original Chrome bug https://cbrug.com/265303

The gist is that when a parent element is running an accelerated animation, a child that uses a value of &apos;inherit&apos; is not properly updated unless something causes a main frame tick (e.g. a mouseover or a rAF).

In the attached example, the child should transform smoothly from 0-90deg, due to the accumulation from the parent + the inherit. Instead, it transforms from 0-45deg unless a main frame tick happens.

This was reproduced in Safari using Browserstack; Safari 12 on Mac Mojave.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1542470</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-06-06 10:22:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/51488653&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848394</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-03-04 13:46:37 -0800</bug_when>
    <thetext>All of Chrome, Firefox and Safari seem to struggle with this example.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>371281</attachid>
            <date>2019-06-04 08:01:52 -0700</date>
            <delta_ts>2019-06-04 08:01:52 -0700</delta_ts>
            <desc>reproduction</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>448</size>
            <attacher name="Stephen McGruer">smcgruer</attacher>
            
              <data encoding="base64">PHN0eWxlPgpkaXYgewogICAgdHJhbnNmb3JtLW9yaWdpbjogMTAwcHggMTAwcHg7Cn0KI3BhcmVu
dCB7CiAgICBhbmltYXRpb246IGFuaW0gMXMgaW5maW5pdGU7CiAgICB0cmFuc2Zvcm06IHJvdGF0
ZSg0NWRlZyk7Cn0KI2NoaWxkIHsKICAgIHRyYW5zZm9ybTogaW5oZXJpdDsKICAgIHBvc2l0aW9u
OiByZWxhdGl2ZTsKICAgIHRvcDogNTBweDsKfQpALXdlYmtpdC1rZXlmcmFtZXMgYW5pbSB7CiAg
ICAwJSB7CiAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7CiAgICB9CiAgICAxMDAlIHsK
ICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSg0NWRlZyk7CiAgICB9Cn0KPC9zdHlsZT4KCjxkaXYg
aWQ9InBhcmVudCI+CiAgICBQYXJlbnQuCiAgICA8ZGl2IGlkPSJjaGlsZCI+Q2hpbGQgc2hvdWxk
IGluaGVyaXQgcGFyZW50IHRyYW5zZm9ybSBhbmltYXRpb248L2Rpdj4KPC9kaXY+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>