<?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>236665</bug_id>
          
          <creation_ts>2022-02-15 13:34:13 -0800</creation_ts>
          <short_desc>incorrect z ordering after an animation</short_desc>
          <delta_ts>2026-01-12 09:02:28 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=164094</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="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>dino</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>1841915</commentid>
    <comment_count>0</comment_count>
      <attachid>452084</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-02-15 13:34:13 -0800</bug_when>
    <thetext>Created attachment 452084
test case

I created this test case just by adding step-end to animations/stacking-context-not-fill-forwards.html.

Chrome, Firefox: The green box is topmost
Safari: The blue box is topmost</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842184</commentid>
    <comment_count>1</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-02-16 01:55:55 -0800</bug_when>
    <thetext>If you open the test case with another tab open, then switching to another tab and returning to the test case shows the content in the right state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842198</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-02-16 02:29:59 -0800</bug_when>
    <thetext>The difference here is likely that this animation does not run accelerated (due to using steps-end easing).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842199</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-02-16 02:31:18 -0800</bug_when>
    <thetext>We call invalidateStyleAndLayerComposition() when an element&apos;s animation completes with acceleration. I expect we fail to do the same in the non-accelerated case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842879</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-17 06:55:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/89084254&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>452084</attachid>
            <date>2022-02-15 13:34:13 -0800</date>
            <delta_ts>2022-02-15 13:34:13 -0800</delta_ts>
            <desc>test case</desc>
            <filename>stacking-context-not-fill-forwards.html</filename>
            <type>text/html</type>
            <size>1469</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDx0aXRsZT5UZXN0cyB0aGF0IGEgbm9u
LWZpbGwtZm9yd2FyZHMgYW5pbWF0aW9uIGRvZXNuJ3QgY2F1c2Ugc3RhY2tpbmcgY29udGV4dCBv
bmNlIGZpbmlzaGVkLjwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgLmJveCB7CiAgICAgICAg
ICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICAgICAgICAgICAgdG9wOiAwOwogICAgICAgICAgICBs
ZWZ0OiAwOwogICAgICAgICAgICBoZWlnaHQ6IDEwMHB4OwogICAgICAgICAgICB3aWR0aDogMTAw
cHg7CiAgICAgICAgfQogICAgICAgIAogICAgICAgICNhbmltYXRpbmcgewogICAgICAgICAgICBh
bmltYXRpb246IG1vdmUgMC4xcyAxIHN0ZXAtZW5kOwogICAgICAgICAgICBiYWNrZ3JvdW5kLWNv
bG9yOiBvcmFuZ2U7CiAgICAgICAgfQoKICAgICAgICBAa2V5ZnJhbWVzIG1vdmUgewogICAgICAg
ICAgICBmcm9tIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTsgfQogICAgICAgICAgICB0
byAgIHsgdHJhbnNmb3JtOiBub25lIH0KICAgICAgICB9CgogICAgICAgIC5iZWhpbmQgewogICAg
ICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBibHVlOwogICAgICAgICAgICB0b3A6IDUwcHg7CiAg
ICAgICAgICAgIGxlZnQ6IDUwcHg7CiAgICAgICAgICAgIHotaW5kZXg6IDE7CiAgICAgICAgfQoK
ICAgICAgICAuZnJvbnQgewogICAgICAgICAgICB0b3A6IDI1cHg7CiAgICAgICAgICAgIGxlZnQ6
IDI1cHg7CiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGdyZWVuOwogICAgICAgICAgICB6
LWluZGV4OiAyOwogICAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8c2NyaXB0PgogICAgICAgIGlm
ICh3aW5kb3cudGVzdFJ1bm5lcikKICAgICAgICAgICAgdGVzdFJ1bm5lci53YWl0VW50aWxEb25l
KCk7CiAgICAgICAgCiAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoJ2xvYWQnLCBmdW5j
dGlvbigpIHsKICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2FuaW1hdGluZycp
LmFkZEV2ZW50TGlzdGVuZXIoJ2FuaW1hdGlvbmVuZCcsIGZ1bmN0aW9uKCkgewogICAgICAgICAg
ICAgICAgLy8gV2FpdCB1bnRpbCBmaWxsaW5nIGZvcndhcmRzLgogICAgICAgICAgICAgICAgd2lu
ZG93LnNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgaWYgKHdpbmRv
dy50ZXN0UnVubmVyKQogICAgICAgICAgICAgICAgICAgICAgICB0ZXN0UnVubmVyLm5vdGlmeURv
bmUoKTsKICAgICAgICAgICAgICAgIH0sIDApOwogICAgICAgICAgICB9KQogICAgICAgIH0sIGZh
bHNlKTsKICAgIDwvc2NyaXB0Pgo8L2hlYWQ+Cjxib2R5PgoKPGRpdiBjbGFzcz0iYmVoaW5kIGJv
eCI+PC9kaXY+CjxkaXYgaWQ9ImFuaW1hdGluZyIgY2xhc3M9ImJveCI+CiAgICA8ZGl2IGNsYXNz
PSJmcm9udCBib3giPjwvZGl2Pgo8L2Rpdj4KCjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>