Bug 261439

Summary: Avoid computing outlineBoundsForRepaint when we can
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: annevk, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2023-09-11 15:39:39 PDT
Ever since https://commits.webkit.org/16814@main we'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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-18 15:40:13 PDT
Anne van Kesteren
Comment 2 2023-12-12 09:28:47 PST
This seems similar to bug 175070.
Simon Fraser (smfr)
Comment 3 2023-12-12 11:43:29 PST
Fixed via 265761. *** This bug has been marked as a duplicate of bug 265761 ***
Note You need to log in before you can comment on or make changes to this bug.