<?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>260255</bug_id>
          
          <creation_ts>2023-08-16 04:37:58 -0700</creation_ts>
          <short_desc>REGRESSION (262875@main): animation of `rotate` property doesn&apos;t work if there&apos;s a `scale`</short_desc>
          <delta_ts>2023-10-18 00:24:39 -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>Animations</component>
          <version>Safari 17</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/42577</see_also>
          <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="David Håsäther">hasather+webkitbugs</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>graouts</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1971479</commentid>
    <comment_count>0</comment_count>
      <attachid>467288</attachid>
    <who name="David Håsäther">hasather+webkitbugs</who>
    <bug_when>2023-08-16 04:37:58 -0700</bug_when>
    <thetext>Created attachment 467288
Animation bug

See attached file.

The two animations should look the same. They do in all common browsers, including Safari 16, but no rotation is happening in Safari 17.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971484</commentid>
    <comment_count>1</comment_count>
      <attachid>467289</attachid>
    <who name="David Håsäther">hasather+webkitbugs</who>
    <bug_when>2023-08-16 06:00:16 -0700</bug_when>
    <thetext>Created attachment 467289
Bug with filter

filter also disabled rotation, see new TC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971617</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-08-16 14:08:38 -0700</bug_when>
    <thetext>I am able to reproduce this bug on WebKit ToT (266957@main) as well and blurred does not flip like non-filtered text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971704</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-16 18:14:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/113999490&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972435</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-08-21 11:09:51 -0700</bug_when>
    <thetext>Regression range: https://github.com/WebKit/WebKit/compare/a465a8a38ab52cfd57d2c2e710d72ea6f53d9c81...2160e724153a80c80fb6d42b05809ff14bcd930f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985313</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-10-16 06:48:56 -0700</bug_when>
    <thetext>The issue is that the animation here has two transform-related properties per keyframe: scale and rotate. In RenderLayerBacking::startAnimation() we call GraphicsLayerCA::addAnimation() twice as a result, once for scale and once for rotate, but in both cases we use the same animation name. Then in GraphicsLayerCA::createTransformAnimationsFromKeyframes() we will remove any animation with that same name which means only one of the two properties will end up being animated.

We need to find a way to keep the notion that these GraphicsLayerCA animations were generated from the same KeyframeEffect but also have a way to distinguish such animations when adding and removing them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985530</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-10-17 01:44:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/19157</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985532</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-10-17 01:46:21 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/42577</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985809</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-18 00:24:37 -0700</bug_when>
    <thetext>Committed 269453@main (add5da728e89): &lt;https://commits.webkit.org/269453@main&gt;

Reviewed commits have been landed. Closing PR #19157 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>467288</attachid>
            <date>2023-08-16 04:37:58 -0700</date>
            <delta_ts>2023-08-16 04:37:58 -0700</delta_ts>
            <desc>Animation bug</desc>
            <filename>animation-bug.html</filename>
            <type>text/html</type>
            <size>595</size>
            <attacher name="David Håsäther">hasather+webkitbugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+Cgo8c3R5bGU+CiAgc3BhbiB7CiAgICBkaXNwbGF5OiBpbmxpbmUtYmxv
Y2s7CiAgICBmb250LXNpemU6IDEwMHB4OwogIH0KPC9zdHlsZT4KCjxkaXY+PHNwYW4gaWQ9ImEi
PnRlc3Q8L3NwYW4+PC9kaXY+CjxkaXY+PHNwYW4gaWQ9ImIiPnRlc3Q8L3NwYW4+PC9kaXY+Cgo8
c2NyaXB0PgogIGEuYW5pbWF0ZSgKICAgIFsKICAgICAgewogICAgICAgIHRyYW5zZm9ybTogInNj
YWxlKC41KSByb3RhdGVYKDBkZWcpIiwKICAgICAgfSwKICAgICAgewogICAgICAgIHRyYW5zZm9y
bTogInNjYWxlKDEpIHJvdGF0ZVgoLTkwZGVnKSIsCiAgICAgIH0sCiAgICBdLAogICAgeyBkdXJh
dGlvbjogMTAwMCwgaXRlcmF0aW9uczogSW5maW5pdHkgfQogICk7CgogIGIuYW5pbWF0ZSgKICAg
IFsKICAgICAgewogICAgICAgIHNjYWxlOiAwLjUsCiAgICAgICAgcm90YXRlOiAieCAwZGVnIiwK
ICAgICAgfSwKICAgICAgewogICAgICAgIHNjYWxlOiAxLAogICAgICAgIHJvdGF0ZTogInggLTkw
ZGVnIiwKICAgICAgfSwKICAgIF0sCiAgICB7IGR1cmF0aW9uOiAxMDAwLCBpdGVyYXRpb25zOiBJ
bmZpbml0eSB9CiAgKTsKPC9zY3JpcHQ+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>467289</attachid>
            <date>2023-08-16 06:00:16 -0700</date>
            <delta_ts>2023-08-16 06:00:59 -0700</delta_ts>
            <desc>Bug with filter</desc>
            <filename>file_260255.txt</filename>
            <type>text/html</type>
            <size>644</size>
            <attacher name="David Håsäther">hasather+webkitbugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+DQoNCjxzdHlsZT4NCiAgc3BhbiB7DQogICAgZGlzcGxheTogaW5saW5l
LWJsb2NrOw0KICAgIGZvbnQtc2l6ZTogMTAwcHg7DQogIH0NCjwvc3R5bGU+DQoNCjxkaXY+PHNw
YW4gaWQ9ImEiPnRlc3Q8L3NwYW4+PC9kaXY+DQo8ZGl2PjxzcGFuIGlkPSJiIj50ZXN0PC9zcGFu
PjwvZGl2Pg0KDQo8c2NyaXB0Pg0KICBhLmFuaW1hdGUoDQogICAgWw0KICAgICAgew0KICAgICAg
ICB0cmFuc2Zvcm06ICJyb3RhdGVYKDBkZWcpIg0KICAgICAgfSwNCiAgICAgIHsNCiAgICAgICAg
dHJhbnNmb3JtOiAicm90YXRlWCgtOTBkZWcpIg0KICAgICAgfQ0KICAgIF0sDQogICAgeyBkdXJh
dGlvbjogMTAwMCwgaXRlcmF0aW9uczogSW5maW5pdHkgfQ0KICApOw0KDQogIGIuYW5pbWF0ZSgN
CiAgICBbDQogICAgICB7DQogICAgICAgIGZpbHRlcjogIm5vbmUiLA0KICAgICAgICB0cmFuc2Zv
cm06ICJyb3RhdGVYKDBkZWcpIg0KICAgICAgfSwNCiAgICAgIHsNCiAgICAgICAgZmlsdGVyOiAi
Ymx1cig1cHgpIiwNCiAgICAgICAgdHJhbnNmb3JtOiAicm90YXRlWCgtOTBkZWcpIg0KICAgICAg
fQ0KICAgIF0sDQogICAgeyBkdXJhdGlvbjogMTAwMCwgaXRlcmF0aW9uczogSW5maW5pdHkgfQ0K
ICApOw0KPC9zY3JpcHQ+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>