<?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>284540</bug_id>
          
          <creation_ts>2024-12-12 06:29:15 -0800</creation_ts>
          <short_desc>[scroll-animations] https://codepen.io/t_afif/full/ZEgjNxm does not work</short_desc>
          <delta_ts>2025-05-12 07:13:46 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>
          <dependson>287948</dependson>
    
    <dependson>287950</dependson>
          <blocked>284525</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2081139</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2024-12-12 06:29:15 -0800</bug_when>
    <thetext>The demo https://codepen.io/t_afif/full/ZEgjNxm does not work perfectly: fewer generated animations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081154</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-12 06:36:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/141356467&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081194</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2024-12-12 08:10:17 -0800</bug_when>
    <thetext>We only yield 4 animations associated with the document timeline whereas Chrome yields an additional 8 animations associated with view timelines.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087703</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-01-16 00:55:55 -0800</bug_when>
    <thetext>In WebKit, we get the following animation targets:

1. &lt;progress max=&quot;100&quot; value=&quot;70&quot;&gt;…&lt;/progress&gt;
2. &lt;progress value=&quot;.5&quot;&gt;…&lt;/progress&gt;
3. &lt;progress value=&quot;.2&quot;&gt;…&lt;/progress&gt;
4. &lt;progress max=&quot;1000&quot; value=&quot;920&quot;&gt;…&lt;/progress&gt;

In Chrome, we have the same animation targets but each with 3 animations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087704</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-01-16 01:05:30 -0800</bug_when>
    <thetext>The animations we fail to yield are those targeting `::before` and `::after` pseudo elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087705</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-01-16 01:16:48 -0800</bug_when>
    <thetext>Hmm, `--timeline-scope` is involved here as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095811</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-02-19 02:33:22 -0800</bug_when>
    <thetext>I&apos;ve identified two separate issues at play here as we do not correctly:

1. resolve `animation-timeline` values, accounting for `timeline-scope`, within shadow roots
2. resolve custom properties on pseudo-elements of an element with a user-agent shadow root attached

I have a fix coming for the first issue, and I filed bug 287948 for the second issue. Hopefully, there aren&apos;t more issues lurking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095817</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-02-19 03:56:30 -0800</bug_when>
    <thetext>Issue number 1 is being tracked by bug 287950.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2114161</commentid>
    <comment_count>8</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-04-30 02:51:10 -0700</bug_when>
    <thetext>I believe bug 287948 is the only reason this demo isn&apos;t working but will only know for sure when it&apos;s fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116480</commentid>
    <comment_count>9</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-05-12 07:13:46 -0700</bug_when>
    <thetext>Indeed, works great as of 294784@main.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>