<?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>247546</bug_id>
          
          <creation_ts>2022-11-06 06:55:27 -0800</creation_ts>
          <short_desc>element.animate on pseudoElement can overflow border-radius</short_desc>
          <delta_ts>2022-11-09 16:06:51 -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 16</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>macOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sorvell</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1910629</commentid>
    <comment_count>0</comment_count>
    <who name="">sorvell</who>
    <bug_when>2022-11-06 06:55:27 -0800</bug_when>
    <thetext>When `element.animate` is called with a `pseudoElement` target (e.g. `::after`) and the pseudo element is transformed (e.g. via `scale`) to be larger than the containing element&apos;s dimensions and the element has `overflow: hidden` with a `border-radius` set, the psuedo-element incorrectly overflows the element&apos;s border-radius during the animation. Note, this behavior does not occur on Chrome or Firefox.


REPRODUCTION: https://lit.dev/playground/#gist=c313d05987201bea072e2d5f6381a67e.

WORKAROUND: Applying an explicit `transform: scale(1)` to the containing element fixes the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911322</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-11-09 11:30:06 -0800</bug_when>
    <thetext>Does this still reproduce in Safari Tech Preview?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911389</commentid>
    <comment_count>2</comment_count>
    <who name="">sorvell</who>
    <bug_when>2022-11-09 15:57:40 -0800</bug_when>
    <thetext>Does not reproduce on Safari Tech Preview. Looks like it&apos;s fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911392</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-11-09 16:06:51 -0800</bug_when>
    <thetext>Thanks for checking.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>