<?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>293845</bug_id>
          
          <creation_ts>2025-05-30 20:18:05 -0700</creation_ts>
          <short_desc>will-change: offset-position should create a stacking context</short_desc>
          <delta_ts>2025-09-09 16:58:45 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://github.com/w3c/fxtf-drafts/issues/609</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="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2120866</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-05-30 20:18:05 -0700</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s test cases for motion path, I noticed three failures but one was about following case:

Test Case Name - position-will-change-establishes-stacking-context.html

Test Case Link - https://jsfiddle.net/6xkwroL0/

^ Fails in WebKit ToT (295637@main) and Firefox Nightly 141 (20250528092647) while passes in Chrome Canary 139.0.7210.0 (Official Build) canary (arm64) .

This fixes in WebkIt:

&gt; Source/WebCore/rendering/style/WillChangeData.cpp in function &apos;propertyCreatesStackingContext&apos;, add below:

    case CSSPropertyOffsetPosition:

This progresses above Blink test case.

Web Specification - https://drafts.fxtf.org/motion-1/#offset-position-property

Just raising here to see whether we need to fix or we should as Blink to match WebKit and Firefox.

Thanks1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121465</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-06-03 12:57:58 -0700</bug_when>
    <thetext>If we believe there&apos;s any web compat impact, we should raise a spec bug.

If we don&apos;t, we could at least write a WPT test that it _doesn&apos;t_ establish a stacking context so there&apos;s some failing test, and/or file a bug against Chromium.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122308</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-06-06 20:19:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/152753709&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>