<?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>304347</bug_id>
          
          <creation_ts>2025-12-17 11:48:21 -0800</creation_ts>
          <short_desc>REGRESSION(293848@main): In certain circumstances, -webkit-box-shadow (and perhaps other prefixed and/or cascade-alias properties) does not transition</short_desc>
          <delta_ts>2026-01-15 11:44:48 -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 18</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=285900</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="Sam Weinig">sam</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>graouts</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2166680</commentid>
    <comment_count>0</comment_count>
      <attachid>477769</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2025-12-17 11:48:21 -0800</bug_when>
    <thetext>Created attachment 477769
Transition using box-shadow (works)

I am not sure exactly what the requirements are, but in some circumstances, using `-webkit-box-shadow` rather than `box-shadow` will cause a CSS transition not to occur.

See two attached test cases.

In the one called &quot;Transition using box-shadow (works)&quot;, you will see that the transition happens, and there is a visible box shadow.
In the one called &quot;Transition using -webkit-box-shadow (broken)&quot;, you will see that the transition does not happen, and there is no visible box shadow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166682</commentid>
    <comment_count>1</comment_count>
      <attachid>477770</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2025-12-17 11:48:55 -0800</bug_when>
    <thetext>Created attachment 477770
Transition using -webkit-box-shadow (broken)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166692</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-12-17 12:13:33 -0800</bug_when>
    <thetext>With both tests I see two transitions being started in Safari (one for -webkit-box-shadow, one for box-shadow), whereas Chrome and Firefox only start one (for box-shadow). I&apos;m not seeing what you&apos;re seeing. What version of Safari did you test with?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166881</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-12-18 01:03:27 -0800</bug_when>
    <thetext>I don&apos;t know whether a spec dictates the behavior for aliases here, but it would be nice to align with Chrome and Firefox here and codify this in WPT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2166963</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2025-12-18 08:42:19 -0800</bug_when>
    <thetext>Interesting! I was testing with Safari Version 26.1 (21622.2.11.11.9). I will try ToT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168093</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-12-24 11:49:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/167144768&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171032</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-01-11 12:35:37 -0800</bug_when>
    <thetext>Hmm, now I see the issue with the &quot;broken&quot; test with STP 234 and 305425@main, trying to identify when this regressed compared to what we shipped in macOS Sequoia 15.6.1 (24G90). My first regression range is 289651@main → 297306@main, will get a more specific regression point tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171033</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-01-11 13:18:36 -0800</bug_when>
    <thetext>This broke in 293848@main, the fix for bug 285900.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171132</commentid>
    <comment_count>8</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2026-01-12 02:52:23 -0800</bug_when>
    <thetext>The behavior where two transitions were yielded when `transition-property: all` was used and a property with an alias changed was modified in 304641@main and it now matches Chrome and Firefox where a single transition occurs. Very nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2172255</commentid>
    <comment_count>9</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2026-01-15 10:34:53 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56649</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2172274</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-15 11:44:46 -0800</bug_when>
    <thetext>Committed 305660@main (288510351274): &lt;https://commits.webkit.org/305660@main&gt;

Reviewed commits have been landed. Closing PR #56649 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>477769</attachid>
            <date>2025-12-17 11:48:21 -0800</date>
            <delta_ts>2025-12-17 11:48:21 -0800</delta_ts>
            <desc>Transition using box-shadow (works)</desc>
            <filename>test-box-shadow-transition.html</filename>
            <type>text/html</type>
            <size>1402</size>
            <attacher name="Sam Weinig">sam</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgogIC50cmFuc2l0aW9uaW5nIHsK
ICAgIHdpZHRoOiA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R7ZGl2LmdldEFuaW1hdGlvbnMoKX1gKTsKCiAgICAgIGRpdi5hZGRFdmVudExpc3Rl
bmVyKCd0cmFuc2l0aW9uc3RhcnQnLCBmdW5jdGlvbihldmVudCkgewogICAgICAgIGxvZygidHJh
bnNpdGlvbnN0YXJ0IGZpcmVkOiAiICsgZXZlbnQpOwogICAgICB9KTsKCiAgICAgIGRpdi5hZGRF
dmVudExpc3RlbmVyKCd0cmFuc2l0aW9ucnVuJywgZnVuY3Rpb24oZXZlbnQpIHsKICAgICAgICBs
b2coInRyYW5zaXRpb25ydW4gZmlyZWQ6ICIgKyBldmVudCk7CiAgICAgIH0pOwoKICAgICAgbG9n
KGBgKQoKICAgIH0gY2F0Y2ggKGV4Y2VwdGlvbikgewogICAgICBsb2coYEVYQ0VQVElPTjogJHtw
cm9wZXJ0eX0gLS0gJHtleGNlcHRpb259XG5gKTsKICAgIH0KICB9CgogIHdpbmRvdy5hZGRFdmVu
dExpc3RlbmVyKCJsb2FkIiwgZnVuY3Rpb24oZXZlbnQpIHsKICAgIHRlc3RfcHJvcGVydHkoImJv
eC1zaGFkb3ciLCAiMCAwIDAgcmdiYSgwLCAwLCAwLCAwKSIsICIxMHB4IDVweCA1cHggYmx1ZSIp
OwogIH0pOwo8L3NjcmlwdD4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>477770</attachid>
            <date>2025-12-17 11:48:55 -0800</date>
            <delta_ts>2025-12-17 11:48:55 -0800</delta_ts>
            <desc>Transition using -webkit-box-shadow (broken)</desc>
            <filename>test-webkit-box-shadow-transition.html</filename>
            <type>text/html</type>
            <size>1410</size>
            <attacher name="Sam Weinig">sam</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgogIC50cmFuc2l0aW9uaW5nIHsK
ICAgIHdpZHRoOiA0MDBweDsKICAgIGhlaWdodDog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vbnMoKX1gKTsKCiAgICAgIGRpdi5hZGRFdmVudExpc3Rl
bmVyKCd0cmFuc2l0aW9uc3RhcnQnLCBmdW5jdGlvbihldmVudCkgewogICAgICAgIGxvZygidHJh
bnNpdGlvbnN0YXJ0IGZpcmVkOiAiICsgZXZlbnQpOwogICAgICB9KTsKCiAgICAgIGRpdi5hZGRF
dmVudExpc3RlbmVyKCd0cmFuc2l0aW9ucnVuJywgZnVuY3Rpb24oZXZlbnQpIHsKICAgICAgICBs
b2coInRyYW5zaXRpb25ydW4gZmlyZWQ6ICIgKyBldmVudCk7CiAgICAgIH0pOwoKICAgICAgbG9n
KGBgKQoKICAgIH0gY2F0Y2ggKGV4Y2VwdGlvbikgewogICAgICBsb2coYEVYQ0VQVElPTjogJHtw
cm9wZXJ0eX0gLS0gJHtleGNlcHRpb259XG5gKTsKICAgIH0KICB9CgogIHdpbmRvdy5hZGRFdmVu
dExpc3RlbmVyKCJsb2FkIiwgZnVuY3Rpb24oZXZlbnQpIHsKICAgIHRlc3RfcHJvcGVydHkoIi13
ZWJraXQtYm94LXNoYWRvdyIsICIwIDAgMCByZ2JhKDAsIDAsIDAsIDApIiwgIjEwcHggNXB4IDVw
eCBibHVlIik7CiAgfSk7Cjwvc2NyaXB0Pgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>