<?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>261439</bug_id>
          
          <creation_ts>2023-09-11 15:39:39 -0700</creation_ts>
          <short_desc>Avoid computing outlineBoundsForRepaint when we can</short_desc>
          <delta_ts>2023-12-12 11:43:29 -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>Layout and Rendering</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>265761</dup_id>
          
          <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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>annevk</cc>
    
    <cc>bfulgham</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>1976938</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-09-11 15:39:39 -0700</bug_when>
    <thetext>Ever since https://commits.webkit.org/16814@main we&apos;ve tracked two repaint rects per layer: the clippedOverflowRect, and the outlineBounds.

outlineBounds is simply the border box, inflated (incorrectly) for outline and box-shadow, converted to absolute coordinates.
clippedOverflowRect is the visual overflow rect, clipped by ancestors and mapped to absolute coordinates.

Now that outlines contribute to visual overflow, there should be no need for outlineBounds repaints.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978133</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-18 15:40:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/115683234&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999002</commentid>
    <comment_count>2</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-12-12 09:28:47 -0800</bug_when>
    <thetext>This seems similar to bug 175070.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999049</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-12-12 11:43:29 -0800</bug_when>
    <thetext>Fixed via 265761.

*** This bug has been marked as a duplicate of bug 265761 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>