<?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>243864</bug_id>
          
          <creation_ts>2022-08-11 18:47:45 -0700</creation_ts>
          <short_desc>REGRESSION (250920@main): Keyframes don&apos;t interpolate for omitted properties in intermediate keyframes</short_desc>
          <delta_ts>2022-10-24 06:39:48 -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 Technology Preview</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://codepen.io/chriskirknielsen/pen/xxWapbW?editors=1100</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Kirk-Nielsen">chriskirknielsen+wkbugs</reporter>
          <assigned_to name="Martin Robinson">mrobinson</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>alex</cc>
    
    <cc>bfulgham</cc>
    
    <cc>chriskirknielsen+wkbugs</cc>
    
    <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>graouts</cc>
    
    <cc>ntim</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>1890784</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Kirk-Nielsen">chriskirknielsen+wkbugs</who>
    <bug_when>2022-08-11 18:47:45 -0700</bug_when>
    <thetext>**Overview:**
When defining CSS animation keyframes with a start and end (0% and 100%) on a defined property (e.g. transform), intermediate keyframes where the start/end property is not defined causes the animation to fail interpolating the value at that intermediate keyframe.

**Steps to Reproduce:**
Reproduce this with an animation on any element with the start/end property being omitted at 50%, affecting another property instead.
Live example on CodePen: https://codepen.io/chriskirknielsen/pen/xxWapbW?editors=1100
Code to reproduce:
```html
&lt;p class=&quot;test-element&quot;&gt;Text that should be moving&lt;/p&gt;
```

```css
.test-element {
	animation: testAnim 1s ease-in-out infinite;
}

@keyframes testAnim {
	0% {
		transform: rotate(-90deg) translateX(1.25em) rotate(90deg);
	}
	50% {
		opacity: 0; /* Commenting this prevents the issue */
	}
	100% {
		transform: rotate(-450deg) translateX(1.25em) rotate(450deg);
	}
}
```

**Actual Results:**
The animation doesn&apos;t smoothly animate the `transform` property from 0% to 100%.

**Expected Results:**
The animation runs smoothly and the omitted property is interpolated across keyframes.

**Build Date &amp; Hardware:**
Using Safari Technology preview, Release 151 (Safari 16.0, WebKit 17615.1.1.2)
Running macOS Monterey 12.4 on MacBook Pro (16-inch, 2019)

**Additional Builds and Platforms:**
Doesn&apos;t occur on Safari Version 15.5 (17613.2.7.1.8) on macOS
Doesn&apos;t occur on Chrome Version 104 on macOS
Doesn&apos;t occur on Firefox Version 103 on macOS

(this is my first bug report, I apologise for the formatting)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890982</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-12 13:29:45 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari 15.6 on macOS 12.5 and behavior between Safari 15.6 and Safari Technical Preview 151 is also different:

-&gt; Safari 15.6 -&gt; round and round movement but not blink like animation
-&gt; Safari TP 151 -&gt; just blink animation but not round and round movement

___

Chrome Canary 106 -&gt; Round and Round movement and blinking
Firefox Nightly 105 -&gt; Round and Round movement and blinking

___

Just wanted to clarify on behavior of STP 151, hence posting the comment. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890983</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-12 13:35:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/98584661&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891178</commentid>
    <comment_count>3</comment_count>
    <who name="Christopher Kirk-Nielsen">chriskirknielsen+wkbugs</who>
    <bug_when>2022-08-13 15:34:07 -0700</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #1)
&gt; I am able to reproduce this bug in Safari 15.6 on macOS 12.5 and behavior
&gt; between Safari 15.6 and Safari Technical Preview 151 is also different:
&gt; 
&gt; -&gt; Safari 15.6 -&gt; round and round movement but not blink like animation
&gt; -&gt; Safari TP 151 -&gt; just blink animation but not round and round movement
&gt; 
&gt; ___
&gt; 
&gt; Chrome Canary 106 -&gt; Round and Round movement and blinking
&gt; Firefox Nightly 105 -&gt; Round and Round movement and blinking
&gt; 
&gt; ___
&gt; 
&gt; Just wanted to clarify on behavior of STP 151, hence posting the comment.
&gt; Thanks!

I was so caught up on the transform I didn&apos;t think about the blinking effect but you&apos;re right!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1897867</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-09-12 08:35:01 -0700</bug_when>
    <thetext>Indeed, Safari was broken in Safari 15.6 and is broken in a different way in the latest Safari Technology Preview. I&apos;m looking at this now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1898151</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-09-13 00:31:23 -0700</bug_when>
    <thetext>This looks like this regressed in https://github.com/WebKit/WebKit/commit/43e80183650b2053fb865f81218eb3c94724f42c, the fix for bug 239906.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1898152</commentid>
    <comment_count>6</comment_count>
      <attachid>462306</attachid>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-09-13 00:31:47 -0700</bug_when>
    <thetext>Created attachment 462306
Testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1905026</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2022-10-12 01:33:36 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5283</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906726</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-19 01:41:32 -0700</bug_when>
    <thetext>Committed 255723@main (2fe23935f668): &lt;https://commits.webkit.org/255723@main&gt;

Reviewed commits have been landed. Closing PR #5283 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907785</commentid>
    <comment_count>9</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-10-24 06:39:48 -0700</bug_when>
    <thetext>*** Bug 245147 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>462306</attachid>
            <date>2022-09-13 00:31:47 -0700</date>
            <delta_ts>2022-09-13 00:31:47 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>bug-243864.html</filename>
            <type>text/html</type>
            <size>369</size>
            <attacher name="Antoine Quint">graouts</attacher>
            
              <data encoding="base64">PHN0eWxlPgoKI3RhcmdldCB7CiAgICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgICB3aWR0aDogMTAw
cHg7CiAgICBoZWlnaHQ6IDEwMHB4OwoJYmFja2dyb3VuZC1jb2xvcjogYmxhY2s7CgoJYW5pbWF0
aW9uOiBhbmltYXRpb24gMXMgbGluZWFyIGluZmluaXRlOwp9CgpAa2V5ZnJhbWVzIGFuaW1hdGlv
biB7CgkwJSB7IHRyYW5zZm9ybTogcm90YXRlKC05MGRlZykgdHJhbnNsYXRlWCgxLjI1ZW0pIHJv
dGF0ZSg5MGRlZykgfQoJNTAlIHsgb3BhY2l0eTogMCB9CgkxMDAlIHsgdHJhbnNmb3JtOiByb3Rh
dGUoLTQ1MGRlZykgdHJhbnNsYXRlWCgxLjI1ZW0pIHJvdGF0ZSg0NTBkZWcpIH0KfQoKPC9zdHls
ZT4KPGRpdiBpZD0idGFyZ2V0Ij48L2Rpdj4K
</data>

          </attachment>
      

    </bug>

</bugzilla>